Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
fimex:faq [2013-09-14 13:15:54] heikok [Vector-rotation gives error-message (>= 0.48) or wrong values due to different units] |
fimex:faq [2026-02-04 09:46:01] (current) alexanderb |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== Frequently Asked Questions ====== | ====== Frequently Asked Questions ====== | ||
| - | ===== How to solve problems with a short variable? ===== | + | Please |
| - | I have problems with a felt-file with a variable of type ' | + | |
| - | - While the netcdf-format allows for only 1 scaling-factor per variable, the felt-format can have a scaling-factor per 2d-slice per variable (that are level*time scaling-factors). You should change the //type// of the variable and its // | + | |
| - | - If you want to save disk-space, and you know that all data of the variable can be subscribed sufficiently with a packed short data-array, use the ncml-configuration as follows: < | + | |
| - | <?xml version=" | + | |
| - | <netcdf xmlns=" | + | |
| - | | + | |
| - | | + | |
| - | <!-- change the type of a variable, repack --> | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | </ | + | |
| - | </ | + | |
| - | </ | + | |
| - | In this example, the precipitation will be described with an accuracy of 0.1mm and up to 3276.7mm. The ncml-configfile will be applied right before writing with the '' | + | |
| - | + | ||
| - | ===== Vector-rotation gives error-message (>= 0.48) and wrong values due to different units ===== | + | |
| - | + | ||
| - | When rotating vectors for spatial interpolations, | + | |
| - | + | ||
| - | A solution is to configure the vector to have the same scale/ | + | |
| - | + | ||
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | <remove name=" | + | |
| - | < | + | |
| - | </ | + | |
| - | + | ||
| - | < | + | |
| - | < | + | |
| - | < | + | |
| - | <remove name=" | + | |
| - | < | + | |
| - | </ | + | |
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | ===== What does this error-message mean? ===== | + | |
| - | + | ||
| - | ==== CDMException: | + | |
| - | + | ||
| - | The config-file for felt-files must at least define 1 existing parameter in the corresponding felt-file. Update your config-file (e.g. felt2nc_variables.xml) with the output from the felt-index, which can be read by felt-tools like '' | + | |
| - | + | ||
| - | ==== CDMException: | + | |
| - | + | ||
| - | This error-message is unfortuneatly very misleading. In many cases, the '' | + | |
| - | + | ||
| - | ===== How can I read grib-message which are split over several files? ===== | + | |
| - | + | ||
| - | since fimex 0.40.1, it is possible to give multiple optional file-sources: | + | |
| - | < | + | |
| - | fimex --input.file=/ | + | |
| - | --input.type=grb --input.config=/ | + | |
| - | --input.optional=/ | + | |
| - | --input.optional=/ | + | |
| - | --output.file=eceps.nc4 | + | |
| - | </ | + | |
| - | + | ||
| - | ===== How to use fimex as opendap-client? | + | |
| - | + | ||
| - | ==== Install netcdf with integrated dap-support ==== | + | |
| - | + | ||
| - | === Prerequisites === | + | |
| - | + | ||
| - | * netcdf4 (4.1.1) from unidata | + | |
| - | * curl library: '' | + | |
| - | * make sure to remove the libnetcdf4-dev package (on ubuntu hardy): '' | + | |
| - | + | ||
| - | === Build === | + | |
| - | + | ||
| - | Configuring, | + | |
| - | + | ||
| - | < | + | |
| - | ./configure --prefix=/usr/ | + | |
| - | make -k # there might be errors building the man-pages depending on tex-installation | + | |
| - | make check | + | |
| - | make -k install | + | |
| - | </ | + | |
| - | + | ||
| - | ==== Fimex and OpENDAP ==== | + | |
| - | + | ||
| - | === Build === | + | |
| - | + | ||
| - | < | + | |
| - | ./configure --with-netcdf=/ | + | |
| - | </ | + | |
| - | + | ||
| - | === Running an extraction from opendap === | + | |
| - | + | ||
| - | < | + | |
| - | fimex --input.file=http:// | + | |
| - | --input.type=netcdf \ | + | |
| - | --output.type=netcdf \ | + | |
| - | --output.file=test.nc \ | + | |
| - | \ | + | |
| - | --extract.selectVariables=time \ | + | |
| - | --extract.selectVariables=x \ | + | |
| - | --extract.selectVariables=y \ | + | |
| - | --extract.selectVariables=depth \ | + | |
| - | --extract.selectVariables=longitude \ | + | |
| - | --extract.selectVariables=latitude \ | + | |
| - | --extract.selectVariables=temperature \ | + | |
| - | \ | + | |
| - | --extract.reduceTime.start=2010-10-05 \ | + | |
| - | --extract.reduceTime.end=2010-10-07 \ | + | |
| - | \ | + | |
| - | --extract.reduceToBoundingBox.south 55.0 \ | + | |
| - | --extract.reduceToBoundingBox.north 80.0 \ | + | |
| - | --extract.reduceToBoundingBox.east 20.0 \ | + | |
| - | --extract.reduceToBoundingBox.west -5.0 | + | |
| - | + | ||
| - | </ | + | |
| - | + | ||
| - | + | ||
| - | + | ||
| - | ===== Why takes linking with '' | + | |
| - | + | ||
| - | This happens with older versions of gcc, seen with 3.3 on debian sarge. | + | |
| - | + | ||
| - | Use '' | + | |