Skip to content
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

Fill nans in ini sal/tem netcdf #616

Closed
veenstrajelmer opened this issue Oct 25, 2023 · 0 comments · Fixed by #617
Closed

Fill nans in ini sal/tem netcdf #616

veenstrajelmer opened this issue Oct 25, 2023 · 0 comments · Fixed by #617

Comments

@veenstrajelmer
Copy link
Collaborator

veenstrajelmer commented Oct 25, 2023

MWE:

import xarray as xr
ds = xr.open_dataset(r'p:\11209231-003-bes-modellering\hydrodynamica\hackathon\preprocessing\ModelBuilderOutput_JV2\InitialField_2022-11-01_00-00-00.nc')
fig,ax = plt.subplots()
ds.so.isel(time=-1,depth=35).plot()

image

This probably also fixes the warnings currently given by model created by the workinprogress_modelbuilder.py example script:

** INFO   :  Min. salinity limited, number of cells Limmin =           20
** INFO   :  Min. salinity limited, min =  -1.037033177733807E-005
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant