Skip to content

Commit

Permalink
Merge pull request #1206 from resource-watch/cit_002
Browse files Browse the repository at this point in the history
convert finoa geometry
  • Loading branch information
weiqi-tori authored Jul 10, 2024
2 parents c2bfc31 + fb9762a commit bf974d2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cli_037_smoke_plumes_US/contents/src/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@

# url for latest Hazard Mapping System (HMS) data
# SOURCE_URL = 'http://satepsanone.nesdis.noaa.gov/pub/FIRE/HMS/GIS/hms_smoke{date}.zip'
SOURCE_URL = 'http://satepsanone.nesdis.noaa.gov/pub/FIRE/web/HMS/Smoke_Polygons/Shapefile/{year}/{month}/hms_smoke{date}.zip'

SOURCE_URL = 'https://satepsanone.nesdis.noaa.gov/pub/FIRE/web/HMS/Smoke_Polygons/Shapefile/{year}/{month}/hms_smoke{date}.zip'
# url for archive Hazard Mapping System (HMS) data
SOURCE_URL_ARCHIVE = 'http://satepsanone.nesdis.noaa.gov/pub/FIRE/HMS/GIS/ARCHIVE/hms_smoke{date}.zip'

Expand Down Expand Up @@ -352,7 +352,7 @@ def processNewData(existing_ids):
if field == 'the_geom':
# get geometry from the 'geometry' feature of the GeoJSON
# add geojson geometry to the list of data from this row
row.append(obs['geometry'])
row.append(obs['geometry'].__geo_interface__)
# if we are fetching data for unique id
elif field == UID_FIELD:
# add the unique id to the list of data from this row
Expand Down

0 comments on commit bf974d2

Please sign in to comment.