Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save bishtgautam/43585cf478ab8bd8268410f4da1bdce0 to your computer and use it in GitHub Desktop.
Save bishtgautam/43585cf478ab8bd8268410f4da1bdce0 to your computer and use it in GitHub Desktop.
>ncdump -h cpl/cpl6/map_r05_to_oEC60to30_nn.160113.nc
netcdf map_r05_to_oEC60to30_nn.160113 {
dimensions:
n_a = 259200 ;
ni_a = 720 ;
nj_a = 360 ;
nv_a = 4 ;
src_grid_rank = 2 ;
n_b = 234988 ;
ni_b = 234988 ;
nj_b = 1 ;
nv_b = 7 ;
dst_grid_rank = 2 ;
n_s = 174689 ;
variables:
double xc_a(n_a) ;
xc_a:long_name = "longitude of grid cell center (input)" ;
xc_a:units = "degrees east" ;
double yc_a(n_a) ;
yc_a:long_name = "latitude of grid cell center (input)" ;
yc_a:units = "degrees north" ;
double xv_a(n_a, nv_a) ;
xv_a:long_name = "longitude of grid cell verticies (input)" ;
xv_a:units = "degrees east" ;
double yv_a(n_a, nv_a) ;
yv_a:long_name = "latitude of grid cell verticies (input)" ;
yv_a:units = "degrees north" ;
int mask_a(n_a) ;
mask_a:long_name = "domain mask (input)" ;
double area_a(n_a) ;
area_a:long_name = "area of cell (input)" ;
double frac_a(n_a) ;
frac_a:long_name = "fraction of domain intersection (input)" ;
int src_grid_dims(src_grid_rank) ;
double xc_b(n_b) ;
xc_b:long_name = "longitude of grid cell center (output)" ;
xc_b:units = "degrees east" ;
double yc_b(n_b) ;
yc_b:long_name = "latitude of grid cell center (output)" ;
yc_b:units = "degrees north" ;
double xv_b(n_b, nv_b) ;
xv_b:long_name = "longitude of grid cell verticies (output)" ;
xv_b:units = "degrees east" ;
double yv_b(n_b, nv_b) ;
yv_b:long_name = "latitude of grid cell verticies (output)" ;
yv_b:units = "degrees north" ;
int mask_b(n_b) ;
mask_b:long_name = "domain mask (output)" ;
double area_b(n_b) ;
area_b:long_name = "area of cell (output)" ;
double frac_b(n_b) ;
frac_b:long_name = "fraction of domain intersection (output)" ;
int dst_grid_dims(dst_grid_rank) ;
double S(n_s) ;
S:long_name = "sparse matrix for mapping S:a->b" ;
int col(n_s) ;
col:long_name = "column corresponding to matrix elements" ;
int row(n_s) ;
row:long_name = "row corresponding to matrix elements" ;
// global attributes:
:title = "gen_runoff mapping generation" ;
:normalization = "conservative" ;
:map_method = "nearest neighbor smoothing" ;
:SVN\ URL = "$SVN" ;
:SVN\ Id = "$Id" ;
:history = "File created: 2016-01-12 17:26:18" ;
:conventions = "NCAR-CCSM" ;
:domain_a = "/lustre/scratch1/turquoise/jonbob/ACME/input_data/lnd/clm2/rtmdata/rdirc.05.061026" ;
:domain_b = "/users/jonbob/grids/SCRIP_files/oEC60to30.SCRIP.150729.nc" ;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment