New name convention for ANC and GEO file
New name convention for ANC and GEO file
Dear
I probably missed something but I have difficulties to find the new name convention for ANC and GEO file to reprocess L1 AQUA data.
Old extensions I used :
fileGEO=${file}.L1A_LAC.GEO
fileANC=${file}.L1A_LAC.anc
fileL1B=${file}.L1B_LAC
where $file is, for instance, "AQUA_MODIS.20220810T123501"
I tried:
fileGEO=${file}.L1A.OC.NRT.GEO
but It seems not the good one.
Have you some hints??
Sorry if information is already on the forum (I searched, with no results)
Thank you for your answer (and also for the incredible job you do)
Ciao
Fabrizio
I probably missed something but I have difficulties to find the new name convention for ANC and GEO file to reprocess L1 AQUA data.
Old extensions I used :
fileGEO=${file}.L1A_LAC.GEO
fileANC=${file}.L1A_LAC.anc
fileL1B=${file}.L1B_LAC
where $file is, for instance, "AQUA_MODIS.20220810T123501"
I tried:
fileGEO=${file}.L1A.OC.NRT.GEO
but It seems not the good one.
Have you some hints??
Sorry if information is already on the forum (I searched, with no results)
Thank you for your answer (and also for the incredible job you do)
Ciao
Fabrizio
Filters:
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: New name convention for ANC and GEO file
Here is the info on new naming convention -- https://oceancolor.gsfc.nasa.gov/docs/filenaming-convention/
If you get L1A file A2022222123500.L1A_LAC here -- https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Level-1A/Aqua-MODIS/2022/222/
your GEO file name is
AQUA_MODIS.20220810T123500.GEO.hdf, generated by or
AQUA_MODIS.20220810T123501.GEO.hdf, donwloaded here -- https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Geo-Location/Aqua-MODIS/2022/222/
Your L1B file name should be AQUA_MODIS.20220810T123500.L1B.hdf generated by However, V2022.0 has a bug, which generates A2022222123500.L1B_LAC instead
Your anc file name is still
A2022222123500.L1A_LAC.anc, generated by
Anc file name is filename + ".anc"
You can find out the output filename of modis_GEO by
You don't need to worry about NRT for L1A, L1B or GEO, it's for L2 and L3 files when the ancillary files are not optimal.
If you get L1A file A2022222123500.L1A_LAC here -- https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Level-1A/Aqua-MODIS/2022/222/
your GEO file name is
AQUA_MODIS.20220810T123500.GEO.hdf, generated by
Code: Select all
modis_GEO A2022222123500.L1A_LAC
AQUA_MODIS.20220810T123501.GEO.hdf, donwloaded here -- https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Geo-Location/Aqua-MODIS/2022/222/
Your L1B file name should be AQUA_MODIS.20220810T123500.L1B.hdf generated by
Code: Select all
modis_L1B A2022222123500
Your anc file name is still
A2022222123500.L1A_LAC.anc, generated by
Code: Select all
getanc A2022222123500.L1A_LAC
You can find out the output filename of modis_GEO by
Code: Select all
get_output_name A2022222123500.L1A_LAC modis_GEO
Re: New name convention for ANC and GEO file
Thank you xuanyang02
this is a great clear explication.
I will try the next week and I will come back to tell you the final issue (hopefully positive)
thank you again
Fabrizio
this is a great clear explication.
I will try the next week and I will come back to tell you the final issue (hopefully positive)
thank you again
Fabrizio
Re: New name convention for ANC and GEO file
Hello
I have still issues to process new file:
for instance, i downloaded:
AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc
and I run the geo_MODIS.py code to generate GEO file, obtaining an error exit:
"Traceback (most recent call last):
File "scripts/modis_GEO.py", line 194, in <module>
sys.exit(main())
File "modis_GEO.py", line 180, in main
modis_env(m)
File "modis_utils.py", line 271, in modis_env
self.start, self.stop, self.sat_name = modis_timestamp(self.file)
File "modis_utils.py", line 158, in modis_timestamp
sat_name = meta['ASSOCIATEDPLATFORMSHORTNAME'].lower()
TypeError: 'NoneType' object has no attribute ‘__getitem__’
«
any hints??
Thank you
I have still issues to process new file:
for instance, i downloaded:
AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc
and I run the geo_MODIS.py code to generate GEO file, obtaining an error exit:
"Traceback (most recent call last):
File "scripts/modis_GEO.py", line 194, in <module>
sys.exit(main())
File "modis_GEO.py", line 180, in main
modis_env(m)
File "modis_utils.py", line 271, in modis_env
self.start, self.stop, self.sat_name = modis_timestamp(self.file)
File "modis_utils.py", line 158, in modis_timestamp
sat_name = meta['ASSOCIATEDPLATFORMSHORTNAME'].lower()
TypeError: 'NoneType' object has no attribute ‘__getitem__’
«
any hints??
Thank you
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: New name convention for ANC and GEO file
Please let us know where you downloaded AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc, so we can replicate the error.
Re: New name convention for ANC and GEO file
Hello
I downloaded file with wget in a shell script
fileL2=AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc
echo $fileL2 | wget -q --user=XXX --password=XXX --no-check-certificate --auth-no-challenge -B https://oceandata.sci.gsfc.nasa.gov (/cgi/getfile/) --content-disposition -P${L2_path} -i -
thanks again
I downloaded file with wget in a shell script
fileL2=AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc
echo $fileL2 | wget -q --user=XXX --password=XXX --no-check-certificate --auth-no-challenge -B https://oceandata.sci.gsfc.nasa.gov (/cgi/getfile/) --content-disposition -P${L2_path} -i -
thanks again
-
- Subject Matter Expert
- Posts: 712
- Joined: Tue Feb 09, 2021 5:42 pm America/New_York
- Been thanked: 9 times
Re: New name convention for ANC and GEO file
There is no such file AQUA_MODIS.20220810T123501.L1A.OC.NRT.nc in our system. Downloadable MODIS L1A file is still using the old naming convention on our site-- See https://oceandata.sci.gsfc.nasa.gov/directdataaccess/Level-1A/Aqua-MODIS/2022/222/
You should use
fileL2=A2022222123500.L1A_LAC.bz2 in your script instead, unzip A2022222123500.L1A_LAC.bz2, and do modis_GEO.py on A2022222123500.L1A_LAC
If you are using SeaDAS-7.5, modis_GEO.py will generate geo files with the old naming convention -- A2022222123500.GEO.
You should use
fileL2=A2022222123500.L1A_LAC.bz2 in your script instead, unzip A2022222123500.L1A_LAC.bz2, and do modis_GEO.py on A2022222123500.L1A_LAC
If you are using SeaDAS-7.5, modis_GEO.py will generate geo files with the old naming convention -- A2022222123500.GEO.
Re: New name convention for ANC and GEO file
Hello
Done!! wrong name file in the automatic download script.
Now it is working.
Thank you
Fabrizio
Done!! wrong name file in the automatic download script.
Now it is working.
Thank you
Fabrizio