Deltares / imod-python

🐍🧰 Make massive MODFLOW models
https://deltares.github.io/imod-python/
MIT License
17 stars 3 forks source link

Documentation: expand description Api Reference text for imod.formats.ipf.save #1182

Open FransRoelofsen opened 2 weeks ago

FransRoelofsen commented 2 weeks ago

The IPF file is written based on information in the pandas.DataFrame. Therefore some dataframe columns are required.

Text suggestion:

  • df (pandas.DataFrame) – DataFrame containing the data to write. Columns required for X ("x") and Y ("y") coordinates.

in case of itype = 1

in case of itype = 2.

in case of itype = 3.

in case of itype = 4.

And what about similar column requirements for imod.formats.ipf.write?

FransRoelofsen commented 2 weeks ago

in addition:
"top" is defined as the individual top of each Interface described in a single borelog. E.g.

3
2,2
top,1e+20
lithology,1e+20
-1.9,"C"
-2.3,"P"
-4.0,"C"