Skip to content

Commit

Permalink
Update rasters_to_netcdf_algorithm.py (#1067)
Browse files Browse the repository at this point in the history
  • Loading branch information
leendertvanwolfswinkel authored Nov 21, 2024
1 parent 6f51232 commit cc2b76d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-----------------

- Fixed attributeError when loading a QGIS project (#1063)

- Fix in Rasters to NetCDF algorithm to properly convert the units Enum to string (#1067)

3.11 (2024-11-12)
-----------------
Expand Down
3 changes: 2 additions & 1 deletion processing/rasters_to_netcdf_algorithm.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,8 @@ def initAlgorithm(self, config):
QgsProcessingParameterEnum(
name=self.INPUT_UNITS,
description="Units",
options=["mm", "m/s", "mm/h"]
options=["mm", "m/s", "mm/h"],
usesStaticStrings=True
)
)

Expand Down

0 comments on commit cc2b76d

Please sign in to comment.