Hi,
Since a few days my API script cannot search for products. The line for search is (for example):
wget -O lista.txt "https://ladsweb.modaps.eosdis.nasa.gov/api/v2/content/archives?ArchiveSets=5200&products=VNP02DNB&temporalRanges=2025-05-02T00:00..2025-05-02T23:59®ions=[AA]Poland"
What was changed in last time, that such wget question doesn't work ?
Best regards,
Piotr
API change
Re: API change
In meanwhile, I found solution. I modified the search question. Example:
wget -O lista.txt "https://ladsweb.modaps.eosdis.nasa.gov/api/v2/content/details?archiveSets=5200&products=VNP02DNB&temporalRanges=2025-05-02T00:00..2025-05-02T23:59®ions=[AA]Poland"
The structure of file lista.txt is now different, then with previous search, so reading of this file for further download has been also changed.
Best regards,
Piotr
wget -O lista.txt "https://ladsweb.modaps.eosdis.nasa.gov/api/v2/content/details?archiveSets=5200&products=VNP02DNB&temporalRanges=2025-05-02T00:00..2025-05-02T23:59®ions=[AA]Poland"
The structure of file lista.txt is now different, then with previous search, so reading of this file for further download has been also changed.
Best regards,
Piotr
-
- User Services
- Posts: 38
- Joined: Fri Dec 13, 2024 2:40 pm America/New_York
- Has thanked: 6 times
Re: API change
Nothing changed. It is “archiveSets=5200” instead of “ArchiveSets=5200” in your call.
Try:
https://ladsweb.modaps.eosdis.nasa.gov/api/v2/content/archives?archiveSets=5200&products=VNP02DNB&temporalRanges=2025-05-02T00:00..2025-05-02T23:59®ions=[AA]Poland
Try:
https://ladsweb.modaps.eosdis.nasa.gov/api/v2/content/archives?archiveSets=5200&products=VNP02DNB&temporalRanges=2025-05-02T00:00..2025-05-02T23:59®ions=[AA]Poland
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.