Comments (4)
The natural approach is probably to create a generic_3d_grid class in oocgcm.core.
Some of the methods that work in generic_2d_grid will need to eventually be externalized so that we can reuse them in generic_3d_grid (e.g : change_grid_location).
It is probably safer to start by duplicating the methods available in generic_2d_grid, write the unit test and then rationalize the duplications.
any timeline for this functionnality on you side ?
from oocgcm.
This is not critical for us, it can wait a few weeks.
We will eventually perform vertical and volume integrations.
from oocgcm.
Hi Julien,
we were wondering with Aurelien what was your timeline about the implementation of the vertical grid in oocgcm?
we'll soon have to deal with it and if you don't have much time to do it we could give it a shot provided we agree on the overall structure of the code / way to proceed.
cheers
from oocgcm.
Hi all,
The following commit ce67ffd is a first draft at implementing vertical coordinates in oocgcm.
It's heavily inspired from what was done for the horizontal.
A thorough clean up of the code will follow soon (leftovers parts from the horizontal code remain).
Some food for thought:
Doing this I got a bit worried about how grids are treated in the current version of the code.
For nemo's z levels application, I think the present structure will do fine.
But for other vertical coordinate systems such as terrain following ones, horizontal and vertical
grids are intimately related (think about pressure gradient computation typically) and I don't think
the present structure will handle these situations well.
In these cases the vertical grid object will have to directly build upon the horizontal one (which may be
common among different grid systems) and I don't think we'll get around having one object that
relies on both grids.
cheers
from oocgcm.
Related Issues (20)
- Problem with boundary values in .core.grids._horizontal_gradient HOT 4
- Allow grid object to describe periodic grids (with a periodic x-axis).
- Shall I rename projection coordinates ? HOT 2
- How to reimplement grid coarsening and statistics-in-boxes in oocgcm ? HOT 7
- How to implement spatial integration methods in oocgcm ? HOT 2
- A decorator for testing chunks/grid_location.
- lon/lat information in xarray_dataset does not go through grid functions (norm_of_vectorfield for example) HOT 7
- Add method for Okubo-Weiss parameter in core.generic_2d_grid HOT 7
- Problem while reading a self-made netcdf file with io.return_xarray_mfdataset HOT 6
- Problem when slicing a NEMO 2d grid objects defined with dask chunks. HOT 4
- Suggestion: correct coordinates after curl/norm HOT 4
- Inheritance of DataArray HOT 1
- Data objects (scalar, vectors ...)
- Can not manage memory properly with norm_of_vectorfield
- use geojson for defining spatial diagnostics. HOT 1
- Add imports of sub-packages to top-level __init__.py HOT 2
- Slicing/isosurfaces methods for 3D grids. HOT 5
- pycomodo vs sgrid HOT 1
- oocgcm does not trivially apply to mitgcm outputs HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oocgcm.