Skip to content

Commit

Permalink
handled merged download/data format
Browse files Browse the repository at this point in the history
  • Loading branch information
EddyCMWF committed Oct 11, 2024
1 parent 7568832 commit bc0144e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cads_adaptors/adaptors/mars.py
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ def pre_mapping_modifications(self, request: dict[str, Any]) -> dict[str, Any]:

# Account from some horribleness from the legacy system:
if data_format.lower() in ["netcdf.zip", "netcdf_zip", "netcdf4.zip"]:
self.data_format = "netcdf"
data_format = "netcdf"
request.setdefault("download_format", "zip")

default_download_format = "as_source"
Expand Down

0 comments on commit bc0144e

Please sign in to comment.