Closed rwjam closed 3 months ago
We want to try and tie individual water right record sites to monthly water use site records.
Issue that it looks like CO Rest API service returns the TOTAL USE per site and does not distinguish the amount for each water right in the event that a site has M:M water right records.
For a temp fix, we can just focus on the sites with a single water right record tied to them, and exclude the timeseries records that tie to a site with multiple water rights. This can be done with a bonus script to remove time series records from input files where groupby(AssociatedNativeAllocationIDs) > 1 per site.
Issue that we can't get the API to work. Do we need a new api key? @amabdallah Adel to reach out to CO and ask
I looked a bit more into the API token for Colorado. You need to sign in (using your work Gmail) and they generate a new key for you.
We are missisng this 'bonus' script & any documentation on how this was accomplished. I need to track that down / recreate it by hand if need be. _
This can be done with a bonus script to remove time series records from input files where groupby(AssociatedNativeAllocationIDs) > 1 per site. _
Actually, it looks like we did not create a bonus script for this, and instead performed this limitation during the initial download of the time series data.
based off this project: https://github.com/WSWCWaterDataExchange/MappingStatesDataToWaDE2.0/issues/60
should use same links to download data. Let's try to connect this timeseries now with the water right IDs.
Also review this issue (maybe new POU shp files to work with): https://github.com/WSWCWaterDataExchange/MappingStatesDataToWaDE2.0/issues/307