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: |
runtime-loadable |
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) = ha(i)*p0
+ hb(i)*ps(x,y,t)
ha and hb
are the hybrid-A- and -B-coefficients,
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 netCDF-file,
the variable names of ha,
hb, ps,
and optionally p0.
IF the name of p0 is omitted, its value
is set to 1.0.
Further optional parameters are start, end, and delta
for the time-steps to be read. These have the same meaning as
in the OpenDX-Import module.
The module OUTPUT are the fields p, ha,
hb, ps, the value of
p0
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: |
runtime-loadable |
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 integer-flags 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 hybrid-A- and -B-coefficients,
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 netCDF-file,
- the variable name of the hybrid-A-coefficient,
- the reference pressure p0 with two options:
- a scalar value,
- the variable name of the reference pressure,
- the variable name of the hybrid-B-coefficient,
- 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 multi-netCDF
file time series in openDX.
The multi-netCDF descriptor file is an ASCII file,
which contains 4 columns:
- path/name of netCDF-file
- number of time steps in the netCDF file
- number of start time step in series
- number of end time step in series
A multi-netCDF descriptor file can be generated by
the tcsh-script nc2dxmc.
|
Download: |
mc4dx.net
nc2dxmc
|
This page was last modified on
19 Feb 2010.
|
|