You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
These variables are really booleans but we are treating them as ints to be consistent with PRMS. This is happening in a translation step in meta.py that I'm removing, so I'm changing the types to int in the metadata/variables.yaml. These should eventually be changed to boolean in the metadata and handled as such. this list may not be comprehensive.
diff --git a/pynhm/static/metadata/variables.yaml b/pynhm/static/metadata/variables.yaml
index 17e075c..fdd19b3 100644
--- a/pynhm/static/metadata/variables.yaml
+++ b/pynhm/static/metadata/variables.yaml
@@ -1636,7 +1636,7 @@ iasw:
on curve and maximum (1) or is on the defined curve (0)
dimensions:
0: nhru
- type: bool
+ type: int32
units: none
imperv_evap:
desc: Evaporation from impervious area for each HRU
@@ -1896,7 +1896,7 @@ lst:
the albedo curve (1) (albset_snm or albset_sna) otherwise (0)
dimensions:
0: nhru
- type: bool
+ type: int32
units: none
lwrad_net:
desc: Net long-wave radiation for each HRU
@@ -2109,7 +2109,7 @@ pptmix_nopack:
present on an HRU (1), otherwise (0)
dimensions:
0: nhru
- type: bool
+ type: int32
units: none
precip:
desc: Precipitation at each measurement station
The text was updated successfully, but these errors were encountered:
jmccreight
added a commit
to jmccreight/pywatershed
that referenced
this issue
Jul 18, 2022
These variables are really booleans but we are treating them as ints to be consistent with PRMS. This is happening in a translation step in meta.py that I'm removing, so I'm changing the types to int in the metadata/variables.yaml. These should eventually be changed to boolean in the metadata and handled as such. this list may not be comprehensive.
The text was updated successfully, but these errors were encountered: