JPSS1 search pattern
JPSS1 search pattern
Hello,
I was wondering what I should use as the sensor name for the VIIRS-JPSS files when using the file_search.cgi utility. I've tried a few different options, but so far I have not been able to find any of the JPSS files. Here is an example of the search pattern:
search=*L1A_JPSS1.nc&sensor=jpss1&sdate=2019-03-27&edate=2019-05-25&dtype=L1
Thanks,
Kim
I was wondering what I should use as the sensor name for the VIIRS-JPSS files when using the file_search.cgi utility. I've tried a few different options, but so far I have not been able to find any of the JPSS files. Here is an example of the search pattern:
search=*L1A_JPSS1.nc&sensor=jpss1&sdate=2019-03-27&edate=2019-05-25&dtype=L1
Thanks,
Kim
Filters:
-
- Subject Matter Expert
- Posts: 139
- Joined: Fri Feb 19, 2021 1:09 pm America/New_York
- Been thanked: 1 time
JPSS1 search pattern
Hi Kim.
Assuming you're using the command line for this, try this as your search string:
"results_as_file=1&sensor=viirsj1&sdate=2019-03-27&edate=2019-05-25&dtype=L1&std_only=1&addurl=1"
I added std_only to eliminate extracts, added addurl to provide download URLs, added results_as_file to make output more readable, and eliminated search keyword. The sensor should be viirsj1. This returns a list like this that includes the L1A and GEO counterpart.
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/V2019145234800.GEO-M_JPSS1.nc
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/V2019145234800.L1A_JPSS1.nc
Regards,
john
Assuming you're using the command line for this, try this as your search string:
"results_as_file=1&sensor=viirsj1&sdate=2019-03-27&edate=2019-05-25&dtype=L1&std_only=1&addurl=1"
I added std_only to eliminate extracts, added addurl to provide download URLs, added results_as_file to make output more readable, and eliminated search keyword. The sensor should be viirsj1. This returns a list like this that includes the L1A and GEO counterpart.
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/V2019145234800.GEO-M_JPSS1.nc
https://oceandata.sci.gsfc.nasa.gov/cgi/getfile/V2019145234800.L1A_JPSS1.nc
Regards,
john
JPSS1 search pattern
John,
Thank you for the quick reply. Yes, I am using the command line, but I am still not able to get results for the JPSS1 sensor. Below are some of the options I tried.
wget --post-data="results_as_file=1&sensor=viirsji&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns a list that includes MODISA and VIIRS files, but not JPSS1.
wget --post-data="search=*L1A_SNPP*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns a list of VIIRS SNPP files so I know the "search" string option works.
However,
wget --post-data="search=*L1A_JPSS*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns an error stating that no files matched my query.
Are the JPSS1 files searchable? I can get the files from the L1/L2 browser and now have a subscription for JPSS, but I do use the search option in my nightly downloads to get the checksums. Any thoughts on what I am doing wrong?
Thanks again,
Kim
Thank you for the quick reply. Yes, I am using the command line, but I am still not able to get results for the JPSS1 sensor. Below are some of the options I tried.
wget --post-data="results_as_file=1&sensor=viirsji&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns a list that includes MODISA and VIIRS files, but not JPSS1.
wget --post-data="search=*L1A_SNPP*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns a list of VIIRS SNPP files so I know the "search" string option works.
However,
wget --post-data="search=*L1A_JPSS*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1" -O - https://oceandata.sci.gsfc.nasa.gov/search/file_search.cgi > FILELIST.txt
Returns an error stating that no files matched my query.
Are the JPSS1 files searchable? I can get the files from the L1/L2 browser and now have a subscription for JPSS, but I do use the search option in my nightly downloads to get the checksums. Any thoughts on what I am doing wrong?
Thanks again,
Kim
JPSS1 search pattern
In your first example, you have the sensor as viirsji, I'm pretty sure it should be viirsj1 (note the digit 1, not lower case I or L)
JPSS1 search pattern
Hello Bruce,
Yes, I did have an error in the first example, but even after changing it to viirsj1, I still only get back Aqua, Terra and VIIRS-SNPP files, not JPSS.
Kim
Yes, I did have an error in the first example, but even after changing it to viirsj1, I still only get back Aqua, Terra and VIIRS-SNPP files, not JPSS.
Kim
-
- Subject Matter Expert
- Posts: 139
- Joined: Fri Feb 19, 2021 1:09 pm America/New_York
- Been thanked: 1 time
JPSS1 search pattern
Kim,
In the most-recent example you posted, the sensor argument isn't listed. When i use this post string, i get VIIRS-J1 files:
"sensor=viirsj1&search=*L1A_SNPP*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1"
Try that?
john
In the most-recent example you posted, the sensor argument isn't listed. When i use this post string, i get VIIRS-J1 files:
"sensor=viirsj1&search=*L1A_SNPP*&results_as_file=1&sdate=2019-03-25&edate=2019-03-27&dtype=L1&cksum=1&std_only=1"
Try that?
john
JPSS1 search pattern
John,
Yes, in one of the examples, I was trying to show that I could find the SNPP data using the "search" option without a sensor listed, however when I tried searching for JPSS1 or using the sensor viirsj1, I don't get any files. Right now I am looking for a valid search string that will return just JPSS1 files. Any suggestions? The example you gave returns SNPP and not JPSS1.
Thanks,
Kim
Yes, in one of the examples, I was trying to show that I could find the SNPP data using the "search" option without a sensor listed, however when I tried searching for JPSS1 or using the sensor viirsj1, I don't get any files. Right now I am looking for a valid search string that will return just JPSS1 files. Any suggestions? The example you gave returns SNPP and not JPSS1.
Thanks,
Kim
-
- Subject Matter Expert
- Posts: 139
- Joined: Fri Feb 19, 2021 1:09 pm America/New_York
- Been thanked: 1 time
JPSS1 search pattern
Kim,
I think the problem is that you're running the old file_search.cgi.
Try this URL instead:
https://oceandata.sci.gsfc.nasa.gov/api/file_search
along with the search string i provided.
john
I think the problem is that you're running the old file_search.cgi.
Try this URL instead:
https://oceandata.sci.gsfc.nasa.gov/api/file_search
along with the search string i provided.
john
JPSS1 search pattern
I think I solved the problem by replacing "search" with "api" in the https:// address. The following works and returns exactly what I am looking for. wget -q --post-data="sensor=viirsj1&sdate=2019-01-01&edate=2019-01-02&dtype=L1&cksum=1&search=*L1A_JPSS1*&results_as_file=1" -O - https://oceandata.sci.gsfc.nasa.gov (/api/file_search.cgi) > FILELIST.txt Thank you everyone for your suggestions.Kim