Error in reading cloud files with make_donor_proj.py
Posted: Fri Sep 29, 2023 1:00 pm
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
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