CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
yzhangrs
Posts: 2
Joined: Mon May 08, 2023 1:03 pm America/New_York
Answers: 0

CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint

by yzhangrs » Mon May 08, 2023 1:13 pm America/New_York

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
image (1).png (65.15 KiB) Not viewed yet
image.png
image.png (72.75 KiB) Not viewed yet

Tags:

LAADS_UserServices_M
User Services
User Services
Posts: 279
Joined: Mon Sep 30, 2019 8:33 am America/New_York
Answers: 1
Has thanked: 3 times

Re: CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint

by LAADS_UserServices_M » Wed May 10, 2023 9:35 am America/New_York

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
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.

yzhangrs
Posts: 2
Joined: Mon May 08, 2023 1:03 pm America/New_York
Answers: 0

Re: CLDMSK_L2_VIIRS_SNPP_NRT CMR STAC access endpoint

by yzhangrs » Fri May 12, 2023 1:00 am America/New_York

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.

Post Reply