HydrologicEngineeringCenter / HydrologicEngineeringCenter/cwms-python

Add location_df_to_json function

Open
#95 2 comments 0 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.