Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion aodntools/ncwriter/template.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,7 @@ def create_variables(self, **kwargs):

# variable attributes to convert to the same type as the variable
# datatype
varattrs_to_convert_to_datatype = ['valid_min', 'valid_max', 'valid_range']
varattrs_to_convert_to_datatype = ['valid_min', 'valid_max', 'valid_range', 'flag_values']

for varname, varattr in self.variables.items():
if not varattr['_dimensions']: # no kwargs in createVariable
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
'numpy>=2.2.4',
'netCDF4>=1.7.2',
'pandas>=2.2.3',
'xarray>=2023.1.0'
'xarray<=2025.3.1'
]

TESTS_REQUIRE = [
Expand Down