PMIP 2 & CDAT: curv2curvipcc.py


 

Program name

curv2curvipcc.py

Author

Jean-Yves Peterschmitt - LSCE - 09/2004

Description

The curv2curvipcc.py CDAT program can be used to transform variables on a curvilinear grid to quasi-IPCC output format files: there will be one output variable per CF compliant output file and the attributes (coordinates', variable's and file's attributes) will be those required by IPCC, but the variable will still be on a curvilinear grid (whereas IPCC requires the output variables to be defined on rectilinear grids).

The program is currently set up to create monthly means (1 year with 12 time steps) from variables on the ORCA 4 curvilinear grid (OPA ocean model output), but it should be easy to have it work with other curvilinear grids and a different number of time steps.

Input:

Output:

Files

Program source curv2curvipcc.py
Sample execution curv2curvipcc.txt
Sample input files BR03_SE_0051_100_grid_T.nc.gz (147 Kb)

ncdump -h BR03_SE_0051_100_grid_T.nc

extra_orca4grid_info.nc.gz (30 Kb)

ncdump -h extra_orca4grid_info.nc
Sample output file thetao_O_SE_orcagrid_LSCE_PMIP2_0K_OA.nc.gz (168 Kb)

ncdump -h thetao_O_SE_orcagrid_LSCE_PMIP2_0K_OA.nc

Note: the data file do not contain actual temperature values, but a checkers like pattern of 0 and 1 ° C.


Home Top Site Map @ Last updated \2007/04/17 08:31:28