HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-python
Add location_df_to_json function
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 16
- Forks
- 11
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 8
Description
This would help bulk management of locations by allowing one to do edits of subsetted location data in a panadas dataframe and then store into the database. It appears you have to manually convert the dataframe into json for a store.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the location storage entry point and any existing JSON conversion helpers; the issue names no file or test. Trace how subsetted pandas location data reaches the CWMS Data API and database, then consider the work done when location_df_to_json produces JSON accepted for bulk location edits and has focused coverage.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- pandas, python
- Domain
- api, database
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 43/100