Deltares / Deltares/imod-python

Expand documentation for IPF writer

Open
#34 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

documentation
Dominant language
Python
Stars
41
Forks
12
Avg merge
21h 8m
Merged PRs (30d)
1

Description

In GitLab by @Huite on Feb 14, 2019, 15:47

The IPF writer makes a significant number of non-obvious assumptions about the dataframe to write.

Off the top of my head:

  • Long table format (vs wide), with suggestion that pandas.melt is quite useful in this regard.
  • A real-world example of wide vs long format data, e.g. a set of timeseries of boreholes.
  • A clear specification of what the minimum necessary columns (and names) are for the different ipf types.
  • Maybe a few examples + samples of the output (e.g. non-unique columns are written to "mother" IPF).

Contributor guide

No contributing guide indexed for this repository

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 with the IPF writer and review how it handles dataframe shape, required columns, IPF types, and non-unique columns. Use pandas.melt when preparing long-format examples, and document wide versus long data, minimum column names, and representative output including the mother IPF. Done means the writer's non-obvious assumptions and examples are clearly covered.

Written by the indexing model from the issue text.

Assessment

Tech stack
pandas, python
Domain
documentation
Issue type
Documentation
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.