Skip to content

Commit

Permalink
finalised changes
Browse files Browse the repository at this point in the history
  • Loading branch information
RondeauG committed Oct 12, 2023
1 parent 3ded3f7 commit a14b116
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion xhydro/modelling/_hydrotel.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,7 +291,6 @@ def _basic_checks(self, xr_open_kwargs: dict = None):
raise_on=["all"],
)

# TODO: Do we want to support files other than debit_aval.nc?
def _standardise_outputs(
self, *, id_as_dim: bool = True, xr_open_kwargs: dict = None
):
Expand Down Expand Up @@ -352,6 +351,11 @@ def _standardise_outputs(
ds,
self.project / "simulation" / "simulation" / "resultat" / "debit_aval.nc",
rechunk=chunks,
netcdf_kwargs={
"encoding": {
"streamflow": {"dtype": "float32", "zlib": True, "complevel": 1}
}
},
)


Expand Down

0 comments on commit a14b116

Please sign in to comment.