viirsn processing after SeaDAS 7.4 upgrade

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 259
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

viirsn processing after SeaDAS 7.4 upgrade

by OB SeaDAS - dshea » Wed Mar 15, 2017 12:14 pm America/New_York

I noticed that there was no output file listed on the command line.  Sure enough, this command fails:

$ geolocate_viirs verbose=true ifile=V2017072153000.L1A_SNPP.nc

Main:: Geolocating L1A V2017072153000.L1A_SNPP.nc
scan: 0 of 202

VcstViirsGeo:: Failure creating GEO MOD file:

scan: 1 of 202
terminate called after throwing an instance of 'netCDF::exceptions::NcBadId'
  what():  NcBadId: Not a netcdf id
file: ncVar.cpp  line:998
Aborted


while this command works fine:

$ geolocate_viirs verbose=true ifile=V2017072153000.L1A_SNPP.nc geofile_mod=V2017072153000.GEO_M.nc

Main:: Geolocating L1A V2017072153000.L1A_SNPP.nc
scan: 0 of 202
scan: 1 of 202
scan: 2 of 202
...
scan: 201 of 202
Geolocation completed.


Admittedly the program should not core dump just because a command line option is missing.  I have a lot of other cleanup work to do on the VIIRS code, so I will add this one to the list.  Let me know if you can successfully geolocate this VIIRS file with the latest OCSSW processors.

don

Tags:

jcoca
Posts: 20
Joined: Thu Feb 11, 2021 6:51 am America/New_York
Answers: 0

viirsn processing after SeaDAS 7.4 upgrade

by jcoca » Thu Mar 16, 2017 8:50 am America/New_York

Hello

I have test geolocate_viirs in comandline test execution adding the geofile_mod option, it is working now.

In my operational script  the option geofile_mod  was already set, however I had to remove the options  terrain_path  and  land_water_mask_path to to accomplish
the processing.

Thank you very much
Josep

gnwiii
Posts: 713
Joined: Fri Jan 29, 2021 5:51 pm America/New_York
Answers: 2
Has thanked: 1 time

viirsn processing after SeaDAS 7.4 upgrade

by gnwiii » Thu Mar 16, 2017 9:29 am America/New_York

Thanks.  geolocate_viirs is working here.  I've been spoiled by all the helpful software that points out when options are missing or incorrect -- need to remember that such luxuries aren't always present.

OB SeaDAS - dshea
Subject Matter Expert
Subject Matter Expert
Posts: 259
Joined: Thu Mar 05, 2009 10:25 am America/New_York
Answers: 0
Been thanked: 2 times

viirsn processing after SeaDAS 7.4 upgrade

by OB SeaDAS - dshea » Thu Mar 16, 2017 10:55 am America/New_York

I am in the process of adding such luxuries now.  Thanks for pointing this one out.

don

Post Reply