Skip to content

Commit

Permalink
fix an error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
SarahAlidoost committed Mar 22, 2024
1 parent dc33ecb commit 2002854
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stmtools/stm.py
Original file line number Diff line number Diff line change
Expand Up @@ -456,6 +456,8 @@ def enrich_from_dataset(self,
raise ValueError(
"The input dataset is not a point or raster dataset."
"The dataset should have either 'space' or 'lat/y' and 'lon/x' dimensions." # give help on renaming
"Consider renaming using "
"https://docs.xarray.dev/en/latest/generated/xarray.Dataset.rename.html#xarray-dataset-rename"
)

# check if dataset has time dimensions
Expand Down

0 comments on commit 2002854

Please sign in to comment.