Skip to content

Commit 7b73d3e

Browse files
authored
Merge pull request #1208 from resource-watch/cit_002
update outdated dataset
2 parents 1250ea7 + 0720001 commit 7b73d3e

File tree

3 files changed

+20
-20
lines changed

3 files changed

+20
-20
lines changed

check_if_nrt_datasets_current/contents/src/__init__.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -132,9 +132,9 @@ def main():
132132
# Tropical Cyclones
133133
elif 'dis.015' in r['data']['attributes']['name']:
134134
allowed_time = datetime.timedelta(days=50)
135-
# oil spills data set doesn't always have events that occur every 30 days
135+
# oil spills data set doesn't always have events that occur every 50 days
136136
elif 'ene.008' in r['data']['attributes']['name']:
137-
allowed_time = datetime.timedelta(days=30)
137+
allowed_time = datetime.timedelta(days=50)
138138
# Vegetation Health Index
139139
elif 'foo.024' in r['data']['attributes']['name']:
140140
allowed_time = datetime.timedelta(days=12)
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
WRI ID,Public Title,Date Added to Sheet,Last Check,Known Reason?,Script in pause
2-
cit.003a.rw0.nrt,Air Quality: Fine Particulate Matter (PM2.5) Station Measurements,11/9/2023,07/10/2024,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
3-
cit.003b.rw0.nrt,Air Quality: Particulate Matter (PM10) Station Measurements,11/9/2023,07/10/2024,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
4-
cit.003c.rw0.nrt,Air Quality: Sulfur Dioxide (SO₂) Station Measurements,11/9/2023,07/10/2024,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
5-
cit.003d.rw0.nrt,Air Quality: Nitrogen Dioxide (NO₂) Station Measurements,11/9/2023,07/10/2024,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
6-
cit.003e.rw0.nrt,Air Quality: Ozone (O₃) Station Measurements,11/9/2023,07/10/2024,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
7-
cit.003f.rw0.nrt,Air Quality: Carbon Monoxide (CO) Station Measurements,11/9/2023,07/10/2024,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
8-
cit.003g.rw0.nrt,Air Quality: Black Carbon Station Measurements,11/9/2023,07/10/2024,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
9-
cli.039.rw1.nrt,Standardised Precipitation-Evapotranspiration Index,11/21/2023,07/10/2024,Source upgraded and it needs an account for the latest data,TRUE
10-
cli.040.rw0.nrt.dash,Sea Level,5/25/2023,07/10/2024,"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
11-
cli.041.rw0.nrt.dash,Land Ice: Antarctica,5/19/2023,07/10/2024,"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
12-
cli.042.rw0.nrt.dash,Land Ice: Greenland,5/19/2023,07/10/2024,"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
13-
cli.043.rw0.nrt.dash,Minimum Annual Arctic Sea Ice Extent,7/4/2023,07/10/2024,"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
14-
com.024.rw0.nrt,Oil Palm Concessions,1/12/2021,07/10/2024,the dataset is now only available as vector layer tiles,
15-
com.025.rw0.nrt,Wood Fiber Concessions,1/12/2021,07/10/2024,the dataset is now only available as vector layer tiles,
16-
foo.003.rw1.nrt,Current and Projected Food Insecurity,7/4/2023,07/10/2024,"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
17-
ocn.002.rw0.nrt,Wave Height,8/19/2021,07/10/2024,the version we use is no longer updated by the data source,TRUE
18-
soc.062c.rw1.nrt,"Recent Internal Displacement from Conflict, Natural Disasters, and Development",8/10/2022,07/10/2024,the data source has not been updated since 6/30/2022,TRUE
2+
cit.003a.rw0.nrt,Air Quality: Fine Particulate Matter (PM2.5) Station Measurements,11/9/2023,08/02/2024,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
3+
cit.003b.rw0.nrt,Air Quality: Particulate Matter (PM10) Station Measurements,11/9/2023,08/02/2024,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
4+
cit.003c.rw0.nrt,Air Quality: Sulfur Dioxide (SO₂) Station Measurements,11/9/2023,08/02/2024,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
5+
cit.003d.rw0.nrt,Air Quality: Nitrogen Dioxide (NO₂) Station Measurements,11/9/2023,08/02/2024,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
6+
cit.003e.rw0.nrt,Air Quality: Ozone (O₃) Station Measurements,11/9/2023,08/02/2024,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
7+
cit.003f.rw0.nrt,Air Quality: Carbon Monoxide (CO) Station Measurements,11/9/2023,08/02/2024,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
8+
cit.003g.rw0.nrt,Air Quality: Black Carbon Station Measurements,11/9/2023,08/02/2024,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
9+
cli.039.rw1.nrt,Standardised Precipitation-Evapotranspiration Index,11/21/2023,08/02/2024,Source upgraded and it needs an account for the latest data,TRUE
10+
cli.040.rw0.nrt.dash,Sea Level,5/25/2023,08/02/2024,"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
11+
cli.041.rw0.nrt.dash,Land Ice: Antarctica,5/19/2023,08/02/2024,"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
12+
cli.042.rw0.nrt.dash,Land Ice: Greenland,5/19/2023,08/02/2024,"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
13+
cli.043.rw0.nrt.dash,Minimum Annual Arctic Sea Ice Extent,7/4/2023,08/02/2024,"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
14+
com.024.rw0.nrt,Oil Palm Concessions,1/12/2021,08/02/2024,the dataset is now only available as vector layer tiles,
15+
com.025.rw0.nrt,Wood Fiber Concessions,1/12/2021,08/02/2024,the dataset is now only available as vector layer tiles,
16+
foo.003.rw1.nrt,Current and Projected Food Insecurity,7/4/2023,08/02/2024,"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
17+
ocn.002.rw0.nrt,Wave Height,8/19/2021,08/02/2024,the version we use is no longer updated by the data source,TRUE
18+
soc.062c.rw1.nrt,"Recent Internal Displacement from Conflict, Natural Disasters, and Development",8/10/2022,08/02/2024,the data source has not been updated since 6/30/2022,TRUE

dis_015a_tropical_cyclones/contents/src/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545

4646
# url for cyclone track data for latest 3 years
4747
url_a = 'https://www.ncei.noaa.gov/data/international-best-track-archive-for-climate-stewardship-ibtracs/'
48-
url_b = 'v04r00/access/shapefile/IBTrACS.last3years.list.v04r00.lines.zip'
48+
url_b = 'v04r01/access/shapefile/IBTrACS.last3years.list.v04r01.lines.zip'
4949
SOURCE_URL = url_a + url_b
5050

5151
# maximum number of attempts that will be made to download the data

0 commit comments

Comments
 (0)