Git Product home page Git Product logo

Comments (6)

bdestombe avatar bdestombe commented on May 30, 2024

And the following: https://github.com/Deltares/xugrid

What would be the benefits of using this over what we currently have and would rely more on the flopy plot commands?

from nlmod.

dbrakenhoff avatar dbrakenhoff commented on May 30, 2024

I believe this interacts nicely with e.g. QGIS, so you can import your results as netcdf and they will be rendered nicely. Also it allows you to easily use imod-python tools.

Regardless of whether we want to adopt this definition, it would be good to have a conversion between our grid definition and the ugrid one.

from nlmod.

bdestombe avatar bdestombe commented on May 30, 2024

Okay, yes that makes sense

from nlmod.

bdestombe avatar bdestombe commented on May 30, 2024

The recent commits of @rubencalje are super helpful, thank you. I had a question though. Wouldn't it be possible to make the required changes, to comply with being a plottable netCDF, when the disv package is contructed? E.g. in nlmod.mfpackages.disv_from_model_ds?

from nlmod.

rubencalje avatar rubencalje commented on May 30, 2024

The recent commits of @rubencalje are super helpful, thank you. I had a question though. Wouldn't it be possible to make the required changes, to comply with being a plottable netCDF, when the disv package is contructed? E.g. in nlmod.mfpackages.disv_from_model_ds?

Probably not. For a UGRID-netCDF file each layer of each variable has to be in a separate variable (for now), which is not very convenient in the rest of nlmod. Also, cell-vertices need to be specified in counterclockwise-direction (while flopy needs them in clockwise direction as the variable cell2d in disv), boolean variables have to be transformed to integer values and time-variables need to be transformed to float-values. To summarize, I think it is better to keep the UGRID-NetCDF-file it as an export option, like it is now.

from nlmod.

bdestombe avatar bdestombe commented on May 30, 2024

Perfect Ruben! Thanks for the explanation. So we can close this issue?

from nlmod.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.