Keepbits varies widely with different simulated streamflow gages? #130
Replies: 2 comments
-
I'm going to take a stab at answering my own question here, as I think I've learned from the @milankl answer about snow depth here that this is basically the same issue -- some rivers have low entropy because they are dry or controlled discharge during certain parts of the year, so if I want to define keepbits for the entire variable (all gages), I should use compute the keepbits value for each gage and use the largest one. |
Beta Was this translation helpful? Give feedback.
-
From #128 (reply in thread):
I view this as confirmation that my answer to my streamflow question was correct! 😄 👨🎓 |
Beta Was this translation helpful? Give feedback.
-
I tried computing keepbits for 99% real information for 100 simulated streamflow gages (output from the US National Water Model).
The dimensions of the Xarray dataset are
gage_id
andtime
.So first I tried computing the whole collection along the time dimension and got a reasonable 8 bits.
Then I thought I'd try each gage individually, just to see what it produced. The results are all over the map:
![2022-08-22_19-13-48](https://user-images.githubusercontent.com/1872600/186035073-2d76de3d-4e9f-46da-8884-0e25e78b29da.png)
Here is the full reproducible notebook.
Does this mean I'm doing something wrong, using the method for data it shouldn't be used for, or that the real information varies from station to station as determined?
Beta Was this translation helpful? Give feedback.
All reactions