Version 1.3.1 crashes
I tried out the newly-installed Yori version 1.3.1 with the following config:
grid_settings:
gridsize: 0.25
projection: conformal
lat_in: MODIS_Latitude
lon_in: MODIS_Longitude
variable_settings:
- name_in: MODIS_SensorZenith
name_out: modis_sat_zen
attributes:
- name: long_name
value: MODIS satellite zenith angle
- name: units
value: degrees
Running Yori gave me the following:
[gregq@sipsdev yori]$ time /mnt/software/support/yori/1.3.1/bin/yori-grid -c 5 yori.yaml match_l1.modis_20180409T091500.viirs_20180409T090600.nc out.nc
Traceback (most recent call last):
File "/mnt/software/support/yori/1.3.1/bin/yori-grid", line 11, in <module>
sys.exit(main())
File "/mnt/software/support/yori/1.3.1/lib/python3.6/site-packages/yori/tools/grid.py", line 27, in main
compression=args.compression)
File "/mnt/software/support/yori/1.3.1/lib/python3.6/site-packages/yori/run_yori.py", line 186, in callYori
Yori = SetupYori(config_file, input_file, output_file)
File "/mnt/software/support/yori/1.3.1/lib/python3.6/site-packages/yori/run_yori.py", line 43, in __init__
if self.ymlSet.grid_settings['master_masks']:
File "/mnt/software/support/yori/1.3.1/lib/python3.6/site-packages/ruamel/yaml/comments.py", line 747, in __getitem__
return ordereddict.__getitem__(self, key)
KeyError: 'master_masks'
I also tried defining master_masks
to an empty list in my config but that resulted in a crash as well.
The input file I am using is /mnt/dawg/products/intercal/modis-viirs/1.0dev6/2018/099/match_l1.modis_20180409T091500.viirs_20180409T090600.nc
.