Skip to content

Commit

Permalink
Fix the inverted condition for combine elev timeseries (#126)
Browse files Browse the repository at this point in the history
  • Loading branch information
SorooshMani-NOAA authored Dec 18, 2023
1 parent 1fbaf14 commit 8d81ca0
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 8d81ca0

Please sign in to comment.