WSWCWaterDataExchange / MappingStatesDataToWaDE2.0

Manage all code to map and import state's data into WaDE 2.0
BSD 3-Clause "New" or "Revised" License
4 stars 1 forks source link

Update South Dakota (SD) Mapping of WaterAllocationURL #148

Closed amabdallah closed 1 year ago

amabdallah commented 1 year ago

Problem The native URLs in a bunch of ND water rights are broken. See here https://westdaat.westernstateswater.org/details/right/SDwr_WR2921

Diagnoses The issue seems to be in getting the correct number in the wr_div3 portion of the native URL (see screenshot below) FYI I wasn't clear from the ReadME or the [script ] how the native URL was mapped (https://github.com/WSWCWaterDataExchange/MappingStatesDataToWaDE2.0/blob/master/SouthDakota/WaterAllocation/6_SDwr_AllocationsAmounts_facts.py) After looking into the raw data file, (see screenshot), I found this water right contains the correct URL to work (by updating the numbers form 3 to 1). However other water rights have different patters, so this is not a universal solution. I hope this is clear what the issue is, and let's chat if otherwise. https://danr.sd.gov/wrimage/wrinfo/wr_div1/1672-1.pdf

image

image

rwjam commented 1 year ago

Was able to manipulate the existing string provided in the LINK info to build a working native url.

Updated ReadMe and mapping document to reflect this change.

Will close this issue.