Differences between revisions 1 and 49 (spanning 48 versions)
Revision 1 as of 2008-01-24 12:26:38
Size: 3658
Editor: NicoleThomas
Comment:
Revision 49 as of 2019-07-31 12:30:31
Size: 1004
Editor: NicoleThomas
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
#format inline_latex #acl ClamsUserGroup:read,write,delete,revert All:read
#format inline_latex scale_factor=1
Line 6: Line 7:
In particular, it can be applied for interpolation on a spatially highly resolved regular grid that, on the one side, does not destroy the fine structures in the spatial distributions calculated with CLaMS and, on the other side, makes easier the handling of the CLaMS output (e.g. plotting). In particular, it can be applied for interpolation on a spatially highly resolved regular grid that, on the one side, does not destroy the fine structures in the spatial distributions calculated with CLaMS and, on the other side, makes easier the handling of the CLaMS output (e.g. plotting). <<BR>>
The program ''i3d_reg.f90'' can be used for interpolation of the CLaMS output (init-file on irregurlar grid) on a regular grid (e.g. ECMWF data).
Line 8: Line 10:
=== How to get the source code ===
Latitude range of the (external) grid where interpolations
have to be determined.
The source code of this package is under control of the CVS (Concurrent Version System) utility.
To get the source code the environment variable CVSROOT must be set to ''/usr/local/icg/icg1/archive''.
The command
{{{Start triangle for the walking triangle algorithm:
y/n -- north/south hemisphere (does not work. Now, the $n/2$ ($n-$number of
all triangles) is chosen as a start triangle).
cvs co -P i3d
}}}
creates a directory ''i3d'' in the current working directory and copies the current version of the i3d package to this directory.
=== Available programs ===
Line 21: Line 12:
The directory ''i3d'' includes the following subdirectories:

 * ''doc'': latex file for documentation
 * ''mod'': module files
 * ''obj'': object files
 * ''source'': source code
 * ''templates'': templates for configuration file

=== Compiling ===

The program can be compiled on different platforms with the makefile stored in the directory ''i3d'':
{{{
gmake i3d
}}}
The program will be compiled for the used platform and an executable ''i3d'' will be created.

=== Configuration file ===

The options for the execution of ''i3d'' are set in the configuration file '''i3d.inp''':

{{{
1) y ! north_hemisphere (y/n)
2) 30., 90. ! lat_min, lat_max
3) 3 ! 0=nearest, 1=weighted, 2=both, 3=weighted_new
4) 2 ! number of tags
    CH4
    O3
5) n ! use one init-file
6) /private/CNx_ECN_3d_24_1.5 ! input directory (init-files)
    CNx ! prefix of init-files (3 character)
7) data/mipas_isen_noonpos_030103_030131.nc ! input file (aircraft/satellite data)
8) outdir ! output directory
9) testout ! output prefix
10) y ! write warnings (y/n)
}}}
 * [[/i3d | i3d]]: interpolation from irregular grid to a different irregular grid
 * [[/i3dreg | i3d_reg]]: interpolation from irregular grid to a regular grid
Line 58: Line 16:
{{{
1) y ! north_hemisphere (y/n)
2) 30., 90. ! lat_min, lat_max
3) 3 ! 0=nearest, 1=weighted, 2=both, 3=weighted_new
4) 2 ! number of tags
    CH4
    O3
5) y ! use one init-file
6) test1/init_BN0_02100112.nc ! init-file
7) test1/pos_A_0_01100112.nc ! input file (aircraft/satellite data)
8) test1 ! output directory
9) testout ! output prefix
10) n ! write warnings (y/n)
}}}
----
Line 73: Line 18:
Remarks:

 1. Start triangle for the walking triangle algorithm:
 y/n -- north/south hemisphere (does not work. Now, the $n/2$ ($n-$number of all triangles) is chosen as a start triangle).
 1. Latitude range of the (external) grid where interpolations have to be determined.
 1. Interpolation type
 1. Number of species and their names
 1. ...
 1. Name of init file | Directory with CLaMS output and prefix of these files
 1. Input file with the external grid
 1. Output directory
 1. Name of the NetCDF output file

=== The walking triangle algorithm ===
[[ /Changes | History of Changes ]]

The package i3d

The program i3d.f90 can be used for interpolation of the CLaMS output (usually stored on irregular grid in init*.nc) on an arbitrary different irregular grid (e.g. experimental data). In particular, it can be applied for interpolation on a spatially highly resolved regular grid that, on the one side, does not destroy the fine structures in the spatial distributions calculated with CLaMS and, on the other side, makes easier the handling of the CLaMS output (e.g. plotting).
The program i3d_reg.f90 can be used for interpolation of the CLaMS output (init-file on irregurlar grid) on a regular grid (e.g. ECMWF data).

Available programs

  • i3d: interpolation from irregular grid to a different irregular grid

  • i3d_reg: interpolation from irregular grid to a regular grid


History of Changes

i3d (last edited 2019-07-31 12:30:31 by NicoleThomas)