R2022 processing
R2022 processing
Hi,
SeaWiFS is declared finished with R2022 but I cannot get any SeaWiFS MLAC data, only GAC.
Any advise? Thanks.
SeaWiFS is declared finished with R2022 but I cannot get any SeaWiFS MLAC data, only GAC.
Any advise? Thanks.
Filters:
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Re: R2022 processing
Mati,
I'm assuming you're not finding the data on the L1/2 browser...the reason is complicated, but boils down to the fact that the L1 filenames were forced to have a start time that matched the start time for the GAC file of the orbit containing the LAC data. With our new naming convention, we're ensuring that the start time matches the start time of the first valid scan in the file, but we didn't rename the L1 files...well that means the times are most likely never going to match and the browser expects that they do, so the L2 file don't get "found" and associated with the parent L1.
We're working on a new browser that doesn't suffer from this issue, but until it is ready, you can either use the Earthdata Search tool (https://search.earthdata.nasa.gov) or the CMR API to find the files you seek.
Here is an example of a call to the CMR API that will retrieve the MLAC files for 1997 that cover the southern California coast:
Regards,
Sean
I'm assuming you're not finding the data on the L1/2 browser...the reason is complicated, but boils down to the fact that the L1 filenames were forced to have a start time that matched the start time for the GAC file of the orbit containing the LAC data. With our new naming convention, we're ensuring that the start time matches the start time of the first valid scan in the file, but we didn't rename the L1 files...well that means the times are most likely never going to match and the browser expects that they do, so the L2 file don't get "found" and associated with the parent L1.
We're working on a new browser that doesn't suffer from this issue, but until it is ready, you can either use the Earthdata Search tool (https://search.earthdata.nasa.gov) or the CMR API to find the files you seek.
Here is an example of a call to the CMR API that will retrieve the MLAC files for 1997 that cover the southern California coast:
Code: Select all
curl -d "page_size=200&sort_key=short_name&sort_key=start_date&short_name=SeaWiFS_L2_MLAC_OC&provider=OB_DAAC&temporal=1997-09-04,1998-01-01&bounding_box=-130,30,-115,35" https://cmr.earthdata.nasa.gov/search/granules.csv
Regards,
Sean
Re: R2022 processing
Hi Sean,
Thanks for a quick reply. I issued the curl command you suggested (in Windows command window) and got some list on my screen. How do I get to download these files? Sorry, that's probably a stupid question...
Mati
Thanks for a quick reply. I issued the curl command you suggested (in Windows command window) and got some list on my screen. How do I get to download these files? Sorry, that's probably a stupid question...
Mati
-
- Posts: 1519
- Joined: Wed Sep 18, 2019 6:15 pm America/New_York
- Been thanked: 9 times
Re: R2022 processing
Mati,
Not a silly question at all. The second element of the returned CSV is the filename, while the fifth element is the URL to download the file. So, you could do something as simple as this:
Or, save the list of files to a text file that you later pass to the obdaac_download script (distributed with SeaDAS or obtained from https://oceancolor.gsfc.nasa.gov/data/download_methods/)
Sean
Not a silly question at all. The second element of the returned CSV is the filename, while the fifth element is the URL to download the file. So, you could do something as simple as this:
Code: Select all
$ curl --silent -d "page_size=2000&sort_key=short_name&sort_key=start_date&short_name=SeaWiFS_L2_MLAC_OC&provider=OB_DAAC&temporal=1997-09-04,1998-01-01&bounding_box=-130,30,-115,35" https://cmr.earthdata.nasa.gov/search/granules.csv | awk -F',' '{print $5}' | grep getfile|xargs -n 1 curl -LJO -n -c ~/.urs_cookies -b ~/.urs_cookies
Code: Select all
$ curl --silent -d "page_size=2000&sort_key=short_name&sort_key=start_date&short_name=SeaWiFS_L2_MLAC_OC&provider=OB_DAAC&temporal=1997-09-04,1998-01-01&bounding_box=-130,30,-115,35" https://cmr.earthdata.nasa.gov/search/granules.csv | awk -F',' '{print $2}' |grep -v Producer > filelist.txt
$ obdaac_download -v --filelist=filelist.txt