-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
gwf: creating IC package very slow (version 0.6.1) #262
Comments
Thanks for posting this issue. I'm not sure but this might have to do with passing a DataArray to flopy instead of the actual underlying numpy array. We've run into bizarrely bad performance before related to that issue. Does this issue also occur with one of the example notebooks? And can you post the versions of xarray, numpy and flopy for us? |
I ran the IJmuiden notebook, results:
|
This issue has been fixed in the dev branch (#200). It's what I mentioned before. When a DataArray is passed to flopy, performance becomes extremely slow. In the lastest version of nlmod we ensure all data from the model dataset is passed to flopy as numpy arrays. For now there are two workarounds:
I'll check with the rest whether we can create a new release soon to address this issue. |
Fixed by new release v0.7.0, closing issue. |
Hi All,
Since I've updated nlmod from 0.5.3 to 0.6.1 the progress of creating the IC package has become very slow (ca. 6-8 min vs a few seconds). I have tried presenting different sets of initial heads (i.e. all 1's, or the actual initial heads), but the outcome is the same.
Although I don't really see what changes from 0.5.3 to 0.6.1 could have an impact on this, I was wondering if anyone else has encountered issues with this?
Issue occurs during:
gwf = nlmod.gwf.ds_to_gwf(ds)
The text was updated successfully, but these errors were encountered: