-
Notifications
You must be signed in to change notification settings - Fork 36
Description
Jay Cable reported that GINA was seeing P2G Version 3.0 failures on a "small fraction" of VIIRS passes when resampling to a locally defined grid. The implementation and log message:
./polar2grid_v_3_0/bin/polar2grid.sh -r viirs_sdr -w geotiff -p true_color -g alaska_300 --grid-configs ./grids/viirs_geotiff_grids.yml -f ./JPSS2.20240611.010250.dat.gz/
INFO : Sorting and reading input files...
INFO : Loading product metadata from files...
INFO : Loading swath geolocation into memory...
INFO : Running day coverage filtering...
INFO : Running night coverage filtering...
INFO : Checking products for sufficient output grid coverage (grid: 'alaska_300')...
WARNING : Resampling found -11830.07% of the output grid 'alaska_300' covered. Will skip producing this product: M03
WARNING : Resampling found -11830.07% of the output grid 'alaska_300' covered. Will skip producing this product: M04
WARNING : Resampling found -11830.07% of the output grid 'alaska_300' covered. Will skip producing this product: M05
WARNING : Resampling found -11830.07% of the output grid 'alaska_300' covered. Will skip producing this product: I01
WARNING : No products were found to overlap with 'alaska_300' grid.
INFO : Computing products and saving data to writers...
WARNING : No product files produced given available valid data and resampling settings. This can happen if the writer detects that no valid output will be written or the input data does not overlap with the target grid.
INFO : SUCCESS
Jay staged the data and I downloaded it and was able to reproduce this issue. The same error occurred when using the latest P2G Version 3.1 version too. You can find the data here:
bumi:/data/users/kathys/test_data/jay_cable/images_v30
Jay noted that the command used to resample to this grid in P2G Version 2.3 did work for the non-crefl bands, by not for crefl (true color creation).