Skip to content

Commit

Permalink
fix typo in mappings
Browse files Browse the repository at this point in the history
  • Loading branch information
kalebphipps committed Aug 16, 2024
1 parent 64f0c3e commit 9ff4955
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions paint/util/paint_mappings.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,13 +167,13 @@
DWD_START = "start"
DWD_END = "end"
DWD_STAC_NAME = "dwd-weather-item-stac"
DWD_STAT_URL = f"INSERT/SOMETHING/HERE/{DWD_STAC_NAME}?download=1"
DWD_STAC_URL = f"INSERT/SOMETHING/HERE/{DWD_STAC_NAME}?download=1"

# JUELICH WEATHER KEYS
JUELICH_START = "start"
JUELICH_END = "end"
JUELICH_STAC_NAME = "juelich-weather-item-stac"
JUELICH_STAT_URL = f"INSERT/SOMETHING/HERE/{JUELICH_STAC_NAME}?download=1"
JUELICH_STAC_URL = f"INSERT/SOMETHING/HERE/{JUELICH_STAC_NAME}?download=1"

# Constants for WGS84
WGS84_A = 6378137.0 # Major axis in meters
Expand Down
2 changes: 1 addition & 1 deletion scripts/download_dwd_data_and_generate_stac.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def main(arguments: argparse.Namespace) -> None:
save_path.parent.mkdir(parents=True, exist_ok=True)
with open(save_path, "w") as handle:
json.dump(dwd_stac, handle)
dwd_url = mappings.DWD_STAT_URL
dwd_url = mappings.DWD_STAC_URL
weather_items.loc[len(weather_items)] = [
"DWD weather data",
dwd_url,
Expand Down

0 comments on commit 9ff4955

Please sign in to comment.