flopy icon indicating copy to clipboard operation
flopy copied to clipboard

hds.get_kstpkper() returns 0 based kstp,kper while hds.kstpkper returns one based.

Open RyanConway91 opened this issue 3 years ago • 1 comments

hds.get_kstpkper() returns 0 based kstp,kper while hds.kstpkper returns one based. hds = fp.utils.binaryfile.HeadFile(r"my.hds")

Is there a good reason for this? If not I would think both should be 0 based like most other stuff in flopy?

RyanConway91 avatar Jan 26 '22 15:01 RyanConway91

Discussed briefly in #2000, may eventually consider deprecating 1-based indexed attributes more comprehensively, for now just clarified the docstrings

wpbonelli avatar Nov 22 '23 21:11 wpbonelli