Hello:
I am trying to process some real-time cloud files which are produced in netCDF format. For example:
/arcdata/goes_restricted/grb/goes16/$curyr/$day_dir/abi/L2/ACHP2KMF/$file
where file=OR_ABI-L2-ACHP2KMF-M6_G16_s20232721500210_e20232721509518_c20232721512537.nc
Running: python make_donor_proj.py input.nc $dir
where $dir=/satbuf1_data/goes/grb/goes16/2023/2023_09_29_272/abi/L1b/RadF
There is a "KeyError":
Traceback (most recent call last):
File "make_donor_proj.py", line 95, in <module>
main(args)
File "make_donor_proj.py", line 52, in main
clavrx_L1b_fn=L1b_name_attr(clavrx_fn)
File "make_donor_proj.py", line 23, in L1b_name_attr
l1b_fn=clavrx.attrs["L1B"]
KeyError: 'L1B'
Could this be caused by a non-conforming variable name in the netCDF header of the cloud file?
Thank you, -Bob
Error in reading cloud files with make_donor_proj.py
Re: Error in reading cloud files with make_donor_proj.py
Hi Bob,
The `make_donor_proj.py` script is not part of Geo2Grid. Is that part of CLAVR-x? You may need to contact the CLAVR-x team about the version you are using and compatibility with the files you have.
Dave
The `make_donor_proj.py` script is not part of Geo2Grid. Is that part of CLAVR-x? You may need to contact the CLAVR-x team about the version you are using and compatibility with the files you have.
Dave
Re: Error in reading cloud files with make_donor_proj.py
Hi Bob,
make_donor_proj is specifically for the CLAVRx files produced at SSEC. The file you are trying to use appears to be coming from NOAA. This also does not seem to be an ACHA file?
Joleen
make_donor_proj is specifically for the CLAVRx files produced at SSEC. The file you are trying to use appears to be coming from NOAA. This also does not seem to be an ACHA file?
Joleen
Last edited by joleenf on Mon Oct 02, 2023 12:17 pm, edited 1 time in total.