Code Monkey home page Code Monkey logo

grid's Introduction

Horizontal grids for nextsim-DG

Bi-hemispheric 1° version, based on ORCA1 (NEMO)

Northern Hemisphere domain

Zoomable vectorial image: here!

Zoomable vectorial image: here!



Local resolution of grid cells, iso-latitudes and land-sea mask.


Southern Hemisphere domain

Zoomable vectorial image: here!

Zoomable vectorial image: here!



Local resolution of grid cells, iso-latitudes and land-sea mask.


Content of the netCDF file

We should agree on what exactly this file should contain but for now I had to start with something and here it is. Both the Northern and Southern hemisphere domains are included in this file; with corresponding dimensions and variables being identified with the *_n and *_s suffixes, respectively.

Reminder

NEMO uses the Arakawa C-grid formalism with squarish meshes. As such, the point at the very center of a given mesh is the T-point, while points that define the 4 corners of the mesh are F-points.

The exact content of current state netCDF file for the 1° resolution domain:

netcdf grid_nextsimDG_2xHEMI1 {
dimensions:
    x_n = 182 ;
    y_n = 290 ;
    x_s = 362 ;
    y_s = 147 ;
variables:
    byte tmask_n(y_n, x_n) ;
	    tmask_n:long_name = "Land-Sea mask at T-points (center of mesh)" ;
    byte tmask_s(y_s, x_s) ;
	    tmask_s:long_name = "Land-Sea mask at T-points (center of mesh)" ;
	double flon_n(y_n, x_n) ;
		flon_n:units = "degrees East" ;
		flon_n:long_name = "Longitude at F-points (corners of mesh)" ;
	double flon_s(y_s, x_s) ;
		flon_s:units = "degrees East" ;
		flon_s:long_name = "Longitude at F-points (corners of mesh)" ;
	double flat_n(y_n, x_n) ;
		flat_n:units = "degrees North" ;
		flat_n:long_name = "Latitude at F-points (corners of mesh)" ;
	double flat_s(y_s, x_s) ;
		flat_s:units = "degrees North" ;
		flat_s:long_name = "Latitude at F-points (corners of mesh)" ;
	double tlon_n(y_n, x_n) ;
		tlon_n:units = "degrees East" ;
		tlon_n:long_name = "Longitude at T-points (center of mesh)" ;
	double tlon_s(y_s, x_s) ;
		tlon_s:units = "degrees East" ;
		tlon_s:long_name = "Longitude at T-points (center of mesh)" ;
	double tlat_n(y_n, x_n) ;
		tlat_n:units = "degrees North" ;
		tlat_n:long_name = "Latitude at T-points (center of mesh)" ;
	double tlat_s(y_s, x_s) ;
		tlat_s:units = "degrees North" ;
		tlat_s:long_name = "Latitude at T-points (center of mesh)" ;
	double e1t_n(y_n, x_n) ;
		e1t_n:units = "m" ;
		e1t_n:long_name = "`dx` of mesh, centered at T-point" ;
	double e2t_n(y_n, x_n) ;
		e2t_n:units = "m" ;
		e2t_n:long_name = "`dy` of mesh, centered at T-point" ;
	double e1t_s(y_s, x_s) ;
		e1t_s:units = "m" ;
		e1t_s:long_name = "`dx` of mesh, centered at T-point" ;
	double e2t_s(y_s, x_s) ;
		e2t_s:units = "m" ;
		e2t_s:long_name = "`dy` of mesh, centered at T-point" ;

// global attributes:
		:About = "Built using ORCA1 (NEMO) `domain_cfg` file: `domain_cfg_L31_4.0.6_ORCA1_no_t_lev1.nc`" ;
		:Author = "Generated with `orcaX_to_hemiX.py`, L. Brodeau, 2022" ;
}

/laurent (27/04/2022)

grid's People

Contributors

brodeau avatar

Watchers

 avatar

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.