fimex:faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
fimex:faq [2008-06-06 12:12:03]
heikok
fimex:faq [2026-02-04 09:46:01] (current)
alexanderb
Line 1: Line 1:
 ====== Frequently Asked Questions ====== ====== Frequently Asked Questions ======
  
-  - I have a felt-file with a variable of type 'short'. fimex abborts with<code>change in scaling-factor for parameter31,2,1000 consider using float or double datatpye</code> What should I do? +Please see the wiki on [[https://github.com/metno/fimex/wiki/FAQ|github]]
-    - 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 //_FillValue// attribute from //short// to //float// in the file felt2nc_variables.xml+
-    - If you want to save disk-space, and you know that all data of the variable can be subscribed sufficently with a packed short data-array, use the cdmWriterConfig.xml as follows: <code> +
-<variable name="31,2,1000" newname="air_temperature" type="short"> +
-  <attribute name="_FillValue" value="-32767" type="short" /> +
-  <attribute name="scale_factor" value="0.01" type="float" /> +
-  <attribute name="add_offset" value="273" type="double" /> +
-</variable> +
-</code> In this example, the temperature will be described with an accuracy of 0.01ºC and a range of -327.66ºC (I know thats below 0K) to 327.66ºC+
  • fimex/faq.1212754323.txt.gz
  • Last modified: 2022-05-31 09:23:15
  • (external edit)