pypest / pyemu

python modules for model-independent uncertainty analyses, data-worth analyses, and interfacing with PEST(++)
BSD 3-Clause "New" or "Revised" License
174 stars 95 forks source link

MF6 objects to PstFrom formatting #402

Closed RyanConway91 closed 1 year ago

RyanConway91 commented 1 year ago

For files in the new dir made by PstFrom, ints related to l,r,c have been converted to floats.

Original File = left, PstFrom File = right image

MF6 6.4.0 objects to this formatting: image

briochh commented 1 year ago

Hi @RyanConway91, There is a bit in PstFrom to try to ensure that ints are written as ints once the processing is complete; this looks like a fairly standard use case so surprising that you are getting this issue.

A few things to check: 0. pyEMU version, 1. your add_paramters() call, 2. the specific file itself.

wkitlasten commented 1 year ago

Could it be that in the add_parameters call you need par_type="grid"?

briochh commented 1 year ago

@RyanConway91, I'm closing this issue as I think the current develop branch should be addressing this. Re-open if still an issue for you.