0% found this document useful (0 votes)
64 views8 pages

Regcm 4.3 Training Session Ii Regcm4.3-Rc Output

The document discusses the output format of a climate model called RegCM4.3. It summarizes that the model output is now in netCDF format, which allows convenient storage of data and metadata. It provides examples of read programs for netCDF and binary output files, and discusses using post-processing tools like GrADS and CDO for tasks like interpolation and averaging of model output.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views8 pages

Regcm 4.3 Training Session Ii Regcm4.3-Rc Output

The document discusses the output format of a climate model called RegCM4.3. It summarizes that the model output is now in netCDF format, which allows convenient storage of data and metadata. It provides examples of read programs for netCDF and binary output files, and discusses using post-processing tools like GrADS and CDO for tasks like interpolation and averaging of model output.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Model Output Format

Example Read Programs


Post Processing

RegCM 4.3 training session II


RegCM4.3-rc Output

G. Giuliani
International Centre for Theorethical Physics - Trieste
Earth System Physics Section

ICTP - Earth System Physics Section

May 6, 2012

ictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

netCDF format
The model output is now in netCDF format.
I ASCII
I Easy to read if small
I Can get large
I Have to know structure to make plots
I Slow to read, write
I Binary
I Smaller, faster than ASCII
I Have to know structure
I Not necessarily portable
I Opaque from outside application
I netCDF
I Binary indexed portable format with standard access APIictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

What are Metadata

Metadata are data about the data


I Name of variables

I Description of them using conventions

I Unit of measure

I Relations between variables

I Global file level attributes

netCDF format allows convenient storage format of data along


with Metadata. It is flexible, Open Source and has multiple
programming language interfaces.

ictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

Example Read Programs


You can find example read programs for both NetCDF and
binary SAV file under the Tools/Programs directory.
I ReadRegcmio program
I Read example of netCDF format data
I Just scans input file and reports what is inside.
I If t2m is found, calculates mean value.
I reSAV program
I Just reads in the Binary SAV file format.
I Can be used for what if study to modify a physical
situation and observe model reaction to small changes in
critical situation.
ictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

Climate Simulation

I A single run is not enough


I Multiple simulation with small perturbation are suggested
I Climatic data are meaningful only as aggregated means
I Model validity is to be checked against observation data
I Nice plots are needed to show scientific results
Usually scripting languages are used to glue general purpose
tools to go from output data files to final result plots,
obtained form scientific data visualization programs.

ictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

The PostProc directory

I sigma2p program interpolates model sigma level output


to pressure levels
I Input format is netCDF , output format is netCDF
I If You want different pressure levels, just edit the file
1
I GrADS programs
I GrADSNcPrepare creates ctl and projection info for
GrADS program
I GrADSNcPlot prepares the two files above, fire up
GrADS, waits for the session to close and removes
temporary files.

ictp-logo
1
Grads 2.0 is needed, 2.0a9 is suggested.
ICTP - ESP Install RegCM4.3-rc
Model Output Format
Example Read Programs
Post Processing

The PostProc scripts

Two scripts are given as hint program to users, to suggest


possible usage of the NCO and CDO tools.
I regrid script
I Interpolates model output to a regular lat/lon grid
I average script
I Possible initial guide to cdo program average functions
We strongly suggest users a direct access to this programs!
They are too much powerful for us to limit their capabilities.

ictp-logo

ICTP - ESP Install RegCM4.3-rc


Model Output Format
Example Read Programs
Post Processing

The Tools directory


Lot of programs can access NetCDF format, and some of
them can perform real powerful analysis tasks.
I GrADS program
I Ferret program
I NCL CISL NCAR Command Language
I R statistical language
Some example scripts are given in the Tools/Scripts
directory. The GrADS ones are what we currently use to
perform multiyear seasonal analysis validation agains CRU
observation dataset.
ictp-logo

ICTP - ESP Install RegCM4.3-rc

You might also like