usage: fimex --input.file FILENAME [--input.type INPUT_TYPE] --output.file FILENAME [--output.type OUTPUT_TYPE] [--input.config CFGFILENAME] [--output.config CFGFILENAME] [--extract....] [--interpolate....] [--timeInterpolate....] Generic options: -h [ --help ] help message --version program version --debug debug program --print-options print all options -c [ --config ] arg (=fimex.cfg) configuration file Configurational options: --input.file arg input file --input.type arg filetype of intput file --input.config arg non-standard input configuration --input.printNcML print NcML description of input file --output.file arg output file --output.type arg filetype of output file --output.config arg non-standard output configuration --extract.removeVariable arg remove variables --extract.reduceDimension.name arg name of a dimension to reduce --extract.reduceDimension.start arg start position of the dimension to reduce (>=0) --extract.reduceDimension.end arg end position of the dimension to reduce --extract.printNcML print NcML description of extractor --interpolate.projString arg proj4 input string describing the new projection --interpolate.method arg interpolation method, one of nearestneighbor, bilinear or bicubic --interpolate.xAxisValues arg string with values on x-Axis, use ... to continue, i.e. 10.5,11,...,29.5 --interpolate.yAxisValues arg string with values on x-Axis, use ... to continue, i.e. 10.5,11,...,29.5 --interpolate.xAxisUnit arg unit of x-Axis given as udunits string, i.e. m or degrees_east --interpolate.yAxisUnit arg unit of y-Axis given as udunits string, i.e. m or degrees_north --interpolate.latitudeName arg name for auto-generated projection coordinate latitude --interpolate.longitudeName arg name for auto-generated projection coordinate longitude --interpolate.printNcML print NcML description of interpolator --timeInterpolate.timeSpec arg specification of times to interpolate to, see Fimex::TimeSpec for a full definition --timeInterpolate.printNcML print NcML description of timeInterpolator
All the configurational options can be configured using a configuration file which is supplied using the --config option. All command line options (CLO) will overwrite the config-file. As a rule of thump, use the CLO for testing and use the config-file for productive usage. The CLOs will be further explained in fimex Setup File.
# config file for program fimex [input] file=flth00.dat config=../share/etc/felt2nc_variables.xml type=felt [output] file=test.nc type=netcdf [extract] removeVariable=relative_humidity [extract.reduceDimension] name=x start=2 end=-2 [extract.reduceDimension] name=y start=2 end=-2 [interpolate] method = bilinear projString = +proj=stere +lat_0=90 +lon_0=-32 +lat_ts=60 +elips=sphere +a=6371000 +e=0 xAxisValues = -500000,-450000,...,5000000 yAxisValues = -500000,-450000,...,5000000 xAxisUnit = m yAxisUnit = m [timeInterpolate] timeSpec = 0,3,...,x;relativeUnit=hours since 2001-01-01 10:00:00;unit=hours since 2007-05-16 00:00:00
The TimeSpec string used for the timeInterpolate should be formatted as explained in detail in MetNoFimex::TimeSpec.