CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint
CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint
Hello, trying to locate the CMR STAC access endpoint for the CLDMSK_L2_VIIRS_SNPP_NRT product (the standard non-NRT data here but no NRT: https://cmr.earthdata.nasa.gov/stac/LAADS/collections/CLDMSK_L2_VIIRS_SNPP), any suggestions or information? Thanks very much.
- Attachments
-
- image (1).png (65.15 KiB) Not viewed yet
-
- image.png (72.75 KiB) Not viewed yet
Filters:
-
- Posts: 377
- Joined: Mon Sep 30, 2019 8:33 am America/New_York
- Has thanked: 3 times
Re: CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint
The NRT product is provided by Atmosphere Science Investigator-led Processing System, Space Science and Engineering Center, University of Wisconsin-Madison and not by LAADS DAAC. So, you should find it at:
https://cmr.earthdata.nasa.gov/stac/ASIPS/collections/CLDMSK_L2_VIIRS_SNPP_NRT
https://cmr.earthdata.nasa.gov/stac/ASIPS/collections/CLDMSK_L2_VIIRS_SNPP_NRT
Regards,
LAADS User Services
To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.
LAADS User Services
To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.
Re: CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint
Thanks very much! Got a new issue here,
I can successfully download data from 'https://cmr.earthdata.nasa.gov/stac/LANCEMODIS' using my EDL token with the following code, but it won't work for the CLDMSK_NRT data:
edl_token = 'my token'
headers = {'Authorization': f'Bearer {edl_token}'}
response = requests.get(item_url, headers=headers)
if response.status_code == 200:
filename = 'Data/' + item_url.split('/')[-1]
with open(filename, 'wb') as file:
for chunk in response.iter_content(chunk_size=1024):
file.write(chunk)
print(f'Downloaded: {filename}')
else:
print(f'Failed to download: {item_url}')
For example, this link https://sips-data.ssec.wisc.edu/nrt/47710112/CLDMSK_L2_VIIRS_SNPP.A2023135.0806.001.nrt.nc I can manually download the file with my Earthdata account logged in, but won't work with the above code and my EDL token. Shall I use a different token or code? Thank you.
I can successfully download data from 'https://cmr.earthdata.nasa.gov/stac/LANCEMODIS' using my EDL token with the following code, but it won't work for the CLDMSK_NRT data:
edl_token = 'my token'
headers = {'Authorization': f'Bearer {edl_token}'}
response = requests.get(item_url, headers=headers)
if response.status_code == 200:
filename = 'Data/' + item_url.split('/')[-1]
with open(filename, 'wb') as file:
for chunk in response.iter_content(chunk_size=1024):
file.write(chunk)
print(f'Downloaded: {filename}')
else:
print(f'Failed to download: {item_url}')
For example, this link https://sips-data.ssec.wisc.edu/nrt/47710112/CLDMSK_L2_VIIRS_SNPP.A2023135.0806.001.nrt.nc I can manually download the file with my Earthdata account logged in, but won't work with the above code and my EDL token. Shall I use a different token or code? Thank you.