Hi Sander,
I’m making my methane map for January 2020 and using this code to create the daily files:
product = harp.import_product(r"/Users/varsharao/Downloads/JAN 11 CH4/*.nc", operations=‘CH4_column_volume_mixing_ratio_dry_air_validity>50;keep(latitude_bounds,longitude_bounds,CH4_column_volume_mixing_ratio_dry_air);bin_spatial(1801,-90,0.1,3601,-180,0.1)’, post_operations=“bin();squash(time, (latitude_bounds,longitude_bounds));derive(latitude {latitude});derive(longitude {longitude});exclude(latitude_bounds,longitude_bounds,latitude_bounds_weight,longitude_bounds_weight,count,weight)”)
While for days before January 11 or after January 18th, this works fine, when I run this code for days between January 11 and January 18 this is what happens:
product = harp.import_product(r"/Users/varsharao/Downloads/JAN 17 CH4/*.nc", operations=‘CH4_column_volume_mixing_ratio_dry_air_validity>50;keep(latitude_bounds,longitude_bounds,CH4_column_volume_mixing_ratio_dry_air);bin_spatial(1801,-90,0.1,3601,-180,0.1)’, post_operations=“bin();squash(time, (latitude_bounds,longitude_bounds));derive(latitude {latitude});derive(longitude {longitude});exclude(latitude_bounds,longitude_bounds,latitude_bounds_weight,longitude_bounds_weight,count,weight)”)
Traceback (most recent call last):
File “”, line 1, in
File “/opt/anaconda3/envs/visan/VISAN.app/Contents/lib/python3.7/site-packages/harp/_harppy.py”, line 1103, in import_product
raise NoDataError()
harp._harppy.NoDataError: product contains no variables, or variables without data