You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The GridAgnostic.from_imod5_data is currently is not able to import steady-state wells from a projectfile. I've found the following things which have to be changed:
For associated wells resample_timeseries creates problems in the final pd.merge, where an empty dataframe is generated
Unassociated wells shouldn't get a multi-index with a "time" index in case of steady-state.
_df_groups_to_da_rates shouldn't use a "time" dimension
The text was updated successfully, but these errors were encountered:
Fixes#1166 and somewhat fixes#1163
# Description
- Moves ``pd.to_datetime`` logic to separate place, use
``errors="coerce"`` setting, which turns datetimes beyond the year 2261
to ``pd.NaT``. These seem to be consequently ignored in the
``resample_timeseries``.
- Truncate well names to max 16 characters
- Support wells defined in "steady-state" entry in the projectfile.
- Add test cases for this.
# Checklist
- [x] Links to correct issue
- [ ] Update changelog, if changes affect users
- [x] PR title starts with ``Issue #nr``, e.g. ``Issue #737``
- [x] Unit tests were added
- [ ] **If feature added**: Added/extended example
The GridAgnostic.from_imod5_data is currently is not able to import steady-state wells from a projectfile. I've found the following things which have to be changed:
resample_timeseries
creates problems in the final pd.merge, where an empty dataframe is generated_df_groups_to_da_rates
shouldn't use a "time" dimensionThe text was updated successfully, but these errors were encountered: