Skip to content

Commit

Permalink
Fix the inverted condition for combine elev timeseries
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA committed Dec 12, 2023
1 parent 1fbaf14 commit 6d5c14e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ensembleperturbation/parsing/schism.py
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@ def read_directory(
@classmethod
def _set_dry_to_null(cls, dataset: Dataset) -> Dataset:
for var in cls.variables:
dataset[var] = dataset[var].where(dataset['dryFlagNode'] == 1, numpy.nan)
dataset[var] = dataset[var].where(dataset['dryFlagNode'] == 0, numpy.nan)

return dataset

Expand Down

0 comments on commit 6d5c14e

Please sign in to comment.