Skip to content

Commit

Permalink
Merge pull request #1186 from resource-watch/check_current
Browse files Browse the repository at this point in the history
update current check scripts
  • Loading branch information
weiqi-tori authored Dec 25, 2023
2 parents 6512c4f + 1a1dbb2 commit c13b4e9
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 17 deletions.
3 changes: 3 additions & 0 deletions check_if_nrt_datasets_current/contents/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ def main():
# NDC ratification status probably would only update once a year, after COP
elif 'cli.047' in r['data']['attributes']['name']:
allowed_time = datetime.timedelta(days=400)
# Volcano events data set doesn't always have events that occur every week
elif 'dis.003' in r['data']['attributes']['name']:
allowed_time = datetime.timedelta(days=15)
# Disaster events data set doesn't always have events that occur everyday
elif 'dis.006' in r['data']['attributes']['name']:
allowed_time = datetime.timedelta(days=15)
Expand Down
34 changes: 17 additions & 17 deletions check_if_nrt_datasets_current/outdated_nrt_scripts.csv
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
WRI ID,Public Title,Date Added to Sheet,Last Check,Known Reason?,Script in pause
cit.003a.rw0.nrt,Air Quality: Fine Particulate Matter (PM2.5) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003b.rw0.nrt,Air Quality: Particulate Matter (PM10) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003c.rw0.nrt,Air Quality: Sulfur Dioxide (SO₂) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003d.rw0.nrt,Air Quality: Nitrogen Dioxide (NO₂) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003e.rw0.nrt,Air Quality: Ozone (O₃) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003f.rw0.nrt,Air Quality: Carbon Monoxide (CO) Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003g.rw0.nrt,Air Quality: Black Carbon Station Measurements,11/9/2023,12/11/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cli.039.rw1.nrt,Standardised Precipitation-Evapotranspiration Index,11/21/2023,12/11/2023,Source upgraded and it needs an account for the latest data,TRUE
cli.040.rw0.nrt.dash,Sea Level,5/25/2023,12/11/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.041.rw0.nrt.dash,Land Ice: Antarctica,5/19/2023,12/11/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.042.rw0.nrt.dash,Land Ice: Greenland,5/19/2023,12/11/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.043.rw0.nrt.dash,Minimum Annual Arctic Sea Ice Extent,7/4/2023,12/11/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
com.024.rw0.nrt,Oil Palm Concessions,1/12/2021,12/11/2023,the dataset is now only available as vector layer tiles,
com.025.rw0.nrt,Wood Fiber Concessions,1/12/2021,12/11/2023,the dataset is now only available as vector layer tiles,
foo.003.rw1.nrt,Current and Projected Food Insecurity,7/4/2023,12/11/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
ocn.002.rw0.nrt,Wave Height,8/19/2021,12/11/2023,the version we use is no longer updated by the data source,TRUE
soc.062c.rw1.nrt,"Recent Internal Displacement from Conflict, Natural Disasters, and Development",8/10/2022,12/11/2023,the data source has not been updated since 6/30/2022,TRUE
cit.003a.rw0.nrt,Air Quality: Fine Particulate Matter (PM2.5) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003b.rw0.nrt,Air Quality: Particulate Matter (PM10) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003c.rw0.nrt,Air Quality: Sulfur Dioxide (SO₂) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003d.rw0.nrt,Air Quality: Nitrogen Dioxide (NO₂) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003e.rw0.nrt,Air Quality: Ozone (O₃) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003f.rw0.nrt,Air Quality: Carbon Monoxide (CO) Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cit.003g.rw0.nrt,Air Quality: Black Carbon Station Measurements,11/9/2023,12/25/2023,OpenAQ updated its API and data fetching options. The script cannot directly get data from their S3 bucket anymore. Need to register an account and use their API instead.,TRUE
cli.039.rw1.nrt,Standardised Precipitation-Evapotranspiration Index,11/21/2023,12/25/2023,Source upgraded and it needs an account for the latest data,TRUE
cli.040.rw0.nrt.dash,Sea Level,5/25/2023,12/25/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.041.rw0.nrt.dash,Land Ice: Antarctica,5/19/2023,12/25/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.042.rw0.nrt.dash,Land Ice: Greenland,5/19/2023,12/25/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
cli.043.rw0.nrt.dash,Minimum Annual Arctic Sea Ice Extent,7/4/2023,12/25/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
com.024.rw0.nrt,Oil Palm Concessions,1/12/2021,12/25/2023,the dataset is now only available as vector layer tiles,
com.025.rw0.nrt,Wood Fiber Concessions,1/12/2021,12/25/2023,the dataset is now only available as vector layer tiles,
foo.003.rw1.nrt,Current and Projected Food Insecurity,7/4/2023,12/25/2023,"source site has major update on their data storage, we paused on updating it since this dataset may not be kept in the data catelog ",TRUE
ocn.002.rw0.nrt,Wave Height,8/19/2021,12/25/2023,the version we use is no longer updated by the data source,TRUE
soc.062c.rw1.nrt,"Recent Internal Displacement from Conflict, Natural Disasters, and Development",8/10/2022,12/25/2023,the data source has not been updated since 6/30/2022,TRUE

0 comments on commit c13b4e9

Please sign in to comment.