Skip to content

Commit

Permalink
fix comments
Browse files Browse the repository at this point in the history
  • Loading branch information
mathleur committed Jan 21, 2025
1 parent d2ee69a commit c4c2332
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions polytope_server/common/datasource/polytope.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,13 +159,13 @@ def change_grids(self, request, config):

def change_hash(self, request, config):

# This only holds for climate dt data
# This only holds for extremes dt data
if request.get("dataset", None) == "extremes-dt":
# all resolution=standard have h128
if request["levtype"] == "pl":
hash = "1c409f6b78e87eeaeeb4a7294c28add7"
return self.change_config_grid_hash(config, hash)

# This only holds for operational data
if request.get("dataset", None) is None:
if request["levtype"] == "ml":
hash = "9fed647cd1c77c03f66d8c74a4e0ad34"
Expand Down

0 comments on commit c4c2332

Please sign in to comment.