Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Adds support to ghg_process for reading both ENVI and netCDF files from the DAAC.
Example ENVI ghg_process calls:
python ghg_process.py /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_rdn_b0106_v01.img /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_obs_b0106_v01.img /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_loc_b0106_v01.img /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_glt_b0106_v01.img /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_bandmask_b0106_v01.img /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l2a/emit20230810t051516_o22204_s000_l2a_mask_b0106_v01.img /beegfs/scratch/jfahlen/test_netcdf/emit20230810t051516_envi --state_subs /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l2a/emit20230810t051516_o22204_s000_l2a_statesubs_b0106_v01.img --overwrite
Equivalent call using netCDF files downloaded from LP DAAC:
python ghg_process.py /beegfs/scratch/jfahlen/test_netcdf/EMIT_L1B_RAD_001_20230810T051516_2322204_013.nc /beegfs/scratch/jfahlen/test_netcdf/EMIT_L1B_OBS_001_20230810T051516_2322204_013.nc /beegfs/scratch/jfahlen/test_netcdf/EMIT_L1B_RAD_001_20230810T051516_2322204_013.nc /beegfs/store/emit/ops/data/acquisitions/20230810/emit20230810t051516/l1b/emit20230810t051516_o22204_s000_l1b_glt_b0106_v01.img /beegfs/scratch/jfahlen/test_netcdf/EMIT_L2A_MASK_001_20230810T051516_2322204_013.nc /beegfs/scratch/jfahlen/test_netcdf/EMIT_L2A_MASK_001_20230810T051516_2322204_013.nc /beegfs/scratch/jfahlen/test_netcdf/emit20230810t051516 --state_subs /beegfs/scratch/jfahlen/test_netcdf/EMIT_L2A_MASK_001_20230810T051516_2322204_013.nc --overwrite