Welcome to Patrick Jöckel's OpenDX repository!
Sowtware on this page is freely available without any warranty under the
GNU
public license (GPL).
Modules:
ncImportHyb
Version: 
2.0b 
Category: 
MPICH 
Type: 
runtimeloadable 
Description: 
This module imports the 3D pressure field p
(or its time series)
constructed from hybrid coordinates in a netCDF file:
p(x,y,t) = h_{a}(i)*p_{0}
+ h_{b}(i)*p_{s}(x,y,t)
h_{a} and h_{b}
are the hybridA and Bcoefficients,
i is the level index,
p_{s} is the surface pressure field,
p_{0} is a constant reference
pressure, t is the time step, and x,y
are the horizontal coordinates.
For INPUT the user has to provide the name of the netCDFfile,
the variable names of h_{a},
h_{b}, p_{s},
and optionally p_{0}.
IF the name of p_{0} is omitted, its value
is set to 1.0.
Further optional parameters are start, end, and delta
for the timesteps to be read. These have the same meaning as
in the OpenDXImport module.
The module OUTPUT are the fields p, h_{a},
h_{b}, p_{s}, the value of
p_{0}
and the number of time steps in the file.

Installation: 
Edit Makefile:
NETCDFROOT = path to netCDF
gmake


Download: 
ncImportHyb.c
Makefile
ncImportHyb.mdf

netCDFscan
Version: 
2.0b 
Category: 
MPICH 
Type: 
runtimeloadable 
Description: 
This module scans a netCDF
file (INPUT filename) and outputs
the variable names as list of strings,
the corresponding space dimension as list of integers,
a list of integerflags indicating a time series, and
the length of the time series (length of unlimited dimension).

Installation: 
Edit Makefile:
NETCDFROOT = path to netCDF
gmake


Download: 
netCDFscan.c
Makefile
netCDFscan.mdf

Macros:
nch2p
Version: 
1.0b 
Category: 
MPICH 
Description: 
This macro imports the 3D pressure field p
constructed from hybrid coordinates in a netCDF
file:
p(x,y,t) = ha(i)*p0 + hb(i)*ps(x,y,t)
ha and hb are the hybridA and Bcoefficients,
i is the level index,
ps is the surface pressure field, p0 is a constant reference
pressure,
t is the time step, and x,y are the horizontal coordinates.
For INPUT the user has to provide
 the name of the netCDFfile,
 the variable name of the hybridAcoefficient,
 the reference pressure p0 with two options:
 a scalar value,
 the variable name of the reference pressure,
 the variable name of the hybridBcoefficient,
 the variable name of the surface pressure,
 the time step.
The OUTPUT is
the pressure field p at time step t.

Download: 
nch2p.net

mc4dx
Version: 
1.0b 
Category: 
MPICH 
Description: 
mc4dx is a macro for the handling of multinetCDF
file time series in openDX.
The multinetCDF descriptor file is an ASCII file,
which contains 4 columns:
 path/name of netCDFfile
 number of time steps in the netCDF file
 number of start time step in series
 number of end time step in series
A multinetCDF descriptor file can be generated by
the tcshscript nc2dxmc.

Download: 
mc4dx.net
nc2dxmc

This page was last modified on
19 Feb 2010.

Impressum / Imprint  Datenschutzerklärung / Privacy Policy
