Skip to content

Commit

Permalink
Switch to firm2 domain
Browse files Browse the repository at this point in the history
  • Loading branch information
palewire committed Jul 25, 2023
1 parent dfb2bf5 commit 58a9629
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions nasa_wildfires/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ def get_modis(
Returns GeoJSON.
"""
base_url = "https://firms.modaps.eosdis.nasa.gov/data/active_fire/modis-c6.1/csv/MODIS_C6_1_{}_{}.csv"
base_url = "https://firms2.modaps.eosdis.nasa.gov/data/active_fire/modis-c6.1/csv/MODIS_C6_1_{}_{}.csv"
name = REGION_DICT[region]
url = base_url.format(name, time_range)
features = _get_features(url)
Expand All @@ -31,7 +31,7 @@ def get_viirs_suomi(
Returns GeoJSON.
"""
base_url = "https://firms.modaps.eosdis.nasa.gov/data/active_fire/suomi-npp-viirs-c2/csv/SUOMI_VIIRS_C2_{}_{}.csv"
base_url = "https://firms2.modaps.eosdis.nasa.gov/data/active_fire/suomi-npp-viirs-c2/csv/SUOMI_VIIRS_C2_{}_{}.csv"
name = REGION_DICT[region]
url = base_url.format(name, time_range)
features = _get_features(url)
Expand All @@ -46,7 +46,7 @@ def get_viirs_noaa(
Returns GeoJSON.
"""
base_url = "https://firms.modaps.eosdis.nasa.gov/data/active_fire/noaa-20-viirs-c2/csv/J1_VIIRS_C2_{}_{}.csv"
base_url = "https://firms2.modaps.eosdis.nasa.gov/data/active_fire/noaa-20-viirs-c2/csv/J1_VIIRS_C2_{}_{}.csv"
name = REGION_DICT[region]
url = base_url.format(name, time_range)
features = _get_features(url)
Expand Down

0 comments on commit 58a9629

Please sign in to comment.