Skip to content

Commit

Permalink
Merge pull request #101 from Earth-Information-System/fast_patch_VIIR…
Browse files Browse the repository at this point in the history
…S_data

Query Different Collection DataCheckUpdate.py
  • Loading branch information
mccabete authored Jul 31, 2024
2 parents 204c8e7 + f93b738 commit af58c25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions DataCheckUpdate.py
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,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://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/suomi-npp-viirs-c2/Global/"
urldir = "https://nrt3.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')
Expand Down Expand Up @@ -317,7 +317,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://nrt4.modaps.eosdis.nasa.gov/api/v2/content/archives/FIRMS/noaa-20-viirs-c2/Global/"
urldir = "https://nrt3.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')
Expand Down

0 comments on commit af58c25

Please sign in to comment.