Skip to content
Snippets Groups Projects
Commit 3080f947 authored by gcorradini's avatar gcorradini
Browse files

update to nrt4 domain

parent 30296671
No related branches found
No related tags found
2 merge requests!44update to nrt4 domain,!13Rename Conus dps to Main
......@@ -279,7 +279,7 @@ def update_VNP14IMGTDL(local_dir=None):
dstart = dstart - timedelta(days=1) # downloaded the last file again to avoid incomplete data
# Do the download process
urldir = "https://nrt3.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/suomi-npp-viirs-c2/Global/"
urldir = "https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/suomi-npp-viirs-c2/Global/"
for d in pd.date_range(dstart,today):
urlfnm = urldir + "SUOMI_VIIRS_C2_Global_VNP14IMGTDL_NRT_"+d.strftime('%Y%j')+".txt"
try: strcmd = wget(url=urlfnm,locdir=local_dir,robots_off=True,no_wget=False,timestamping=True,header='NASA')
......@@ -314,7 +314,7 @@ def update_VJ114IMGTDL(local_dir=None):
dstart = dstart - timedelta(days=1) # downloaded the last file again to avoid incomplete data
# Do the download process
urldir = "https://nrt3.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/"
urldir = "https://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/"
for d in pd.date_range(dstart,today):
urlfnm = urldir + "J1_VIIRS_C2_Global_VJ114IMGTDL_NRT_"+d.strftime('%Y%j')+".txt"
try: strcmd = wget(url=urlfnm,locdir=local_dir,robots_off=True,no_wget=False,timestamping=True,header='NASA')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment