tseries:technical

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
tseries:technical [2014-01-22 07:42:54]
juergens
tseries:technical [2022-05-31 09:29:32] (current)
Line 14: Line 14:
  
  
 +Styles and control are located in a separate package - The source code is downloadable at [[https://svn.met.no/tseries/config|subversion]]
 ===== Command line parameters: ===== ===== Command line parameters: =====
  
Line 101: Line 101:
 | **Images** | Path to find images used in diagrams, like weather symbols | | **Images** | Path to find images used in diagrams, like weather symbols |
 | **Lang**   | Path to find language files, //Tseries// looks for  tseries_XX.qm files in this directory, where XX is the country code.  .qm files are generated by the the Qt linguist tool. | | **Lang**   | Path to find language files, //Tseries// looks for  tseries_XX.qm files in this directory, where XX is the country code.  .qm files are generated by the the Qt linguist tool. |
 +| **Styles** | Path to find stylefiles in tsDiagrams.def |
  
  
Line 106: Line 107:
  
 ^ Token ^ Description ^ ^ Token ^ Description ^
-| **Defs**      | The diagram definition file | +| **Defs**      | The diagram definition file (tsDiagrams.def) 
 | **Configure** | Autogenerated File to store configuration (like window size, language etc) from  the GUI. | | **Configure** | Autogenerated File to store configuration (like window size, language etc) from  the GUI. |
 | **WeatherSymbols** | The weather symbol definition file | | **WeatherSymbols** | The weather symbol definition file |
Line 119: Line 120:
 === SECTION: <fimex> === === SECTION: <fimex> ===
 ^ Token ^ Description ^ ^ Token ^ Description ^
-| **FimexStreamTypes** | List of streamtypes that willbe read by  [[fimex:start|Fimex]] , seperated by colon  ''netcdf : ncml'' |+| **FimexStreamTypes** | List of streamtypes that will be read by  [[fimex:start|Fimex]] , seperated by colon  ''netcdf : ncml'' | 
 + 
 + 
 +=== SECTION: <WDB> === 
 +^ Token ^ Description ^ 
 +| **Host**  | The WDB host | 
 +| **User**  | The WDB User | 
 +| **busymovie** | Animated gif to display that the server is busy - caching | 
 +| **readtime**  | If a request takes longer than readtime, the cache option appears ( in milliseconds ) | 
 +| **maxRecord **| Cutoff for records in bookmarks | 
 + 
 + 
 + 
 +=== SECTION: <klima>=== 
 +^ Token ^ Description ^ 
 +| **url** | base URL for the klima requequest | 
 +| **maxDistance** | max distance to an observation in km (default=50) | 
 +| **maxObservationLength** | how many hours to look into the past (default=300) | 
 + 
  
  
Line 146: Line 166:
 In a collection, any hdf/fimex file has to be registered the following way In a collection, any hdf/fimex file has to be registered the following way
  
-== A HDF/ASCII stream ==+== A HDF/ASCII Stream ==
 ^ Token ^ Description ^ ^ Token ^ Description ^
-| **DataFile**        |  The HDF file | +| **DataFile**        | The HDF file | 
-| **DataDescription** |  The data description. A hdf file can contain several streams. You have to find the exact stream name in the file (when in doubt use vshow). The data description is used to define values in the diagram definition. (tsDiagrams.def) |+| **DataDescription** | The data description. A hdf file can contain several streams. You have to find the exact stream name in the file (when in doubt use vshow). The data description is used to define values in the diagram definition. (tsDiagrams.def) |
 | **DataType** | HDF or ASCII | | **DataType** | HDF or ASCII |
 | **Contents** | What parameter are defined in the file, x means any.  The string is separated into four sections: Parameter,level,stream,runtime \\ ''x,x,ECMWF,12'' – means: All parameters from ECMWF, 12 \\ ''x,x,ECMWF,x'' - All parameters from ECMWF, all times | | **Contents** | What parameter are defined in the file, x means any.  The string is separated into four sections: Parameter,level,stream,runtime \\ ''x,x,ECMWF,12'' – means: All parameters from ECMWF, 12 \\ ''x,x,ECMWF,x'' - All parameters from ECMWF, all times |
  
  
-== A FIMEX stream ==+== A FIMEX Stream ==
 ^ Token ^ Description ^ ^ Token ^ Description ^
-| **DataFile**        |  The datafile or URL (opendap) - use of glob is possible | +| **DataFile**        | The datafile or URL (opendap) - use of glob is possible  
-| **DataDescription** |  The data description. Just a string to connect this stream to the diagram definition. (tsDiagrams.def) |+| **DataDescription** | The data description. Just a string to connect this stream to the diagram definition. (tsDiagrams.def)  |
 | **DataType** | [ type : tag ] type has to be defined in fimexStreamTypes, tag is optional. if no tag is given, tag=type. Tag is used to connect the parameterdescription to this stream  | | **DataType** | [ type : tag ] type has to be defined in fimexStreamTypes, tag is optional. if no tag is given, tag=type. Tag is used to connect the parameterdescription to this stream  |
-| **Contents** | Not really used in Fimexstreams | +| **Contents** | Not really used in Fimexstreams  
-| **DataConfig** | Connect a  [[fimex:start|Fimex]]  config file (xml) to this stream |+| **DataConfig** | Connect a  [[fimex:start|Fimex]]  config file (xml) to this stream  |
  
  
 +=== SECTION: <wdbParameter> ===
  
 +This section maps wdb parameters to tseries parameters
  
 +<code>
 +
 +# tseries parameter  = <wdb parameter> | <height> < height name>  : <scale> 
 +MSLP,0,x,x,APP=  air pressure at sea level               | 0   height above ground             :/100
 +RR,0,x,x,APP=    lwe precipitation rate                  | 0   height above ground
 +TT,0,x,x,APP=    kalman air temperature                  | 2   height above ground             :-273.15
 +UU,0,x,x,APP=    x wind                                  | 10  height above ground             :*1.94384
 +</code>
 +
 +
 +=== SECTION:<WDBVECTORFUNCTIONS> ===
 +connect two parameters to a vector( to rotate them into a greografic grid)
 +<code>
 +UU,0,x,x,x :VV,0,x,x,x
 +</code>
 +
 +
 +
 +
 +=== SECTION: <klimaparameter> ===
 +
 +<code>
 +# tseries parameter = klimaparameter
 +TT_O,0,x,OBS,x=TA 
 +MSLP_O,0,x,OBS,x=PR 
 +QNH_O,0,x,OBS,x=PH
 +
 +</code>
 +
 +=== SECTION: <klimanormals> ===
 +<code>
 +# tseries parameter = klimaparameter
 +# for these parameters, tseries has to build a timeline
 +TAM,0,x,OBS,x=TAM
 +TANM,0,x,OBS,x=TANM
 +TAXM,0,x,OBS,x=TAXM
 +</code>
 +
 +=== SECTION: <fimexParameters> ===
 +
 +
 +
 +<code>
 +
 +tag       = Given at the fimexstream definition  (DataType : Tag)
 +fimexname = Request parametername
 +Unit      = Udunits string
 +extradim  = Predefined dimensions are time and position, height or similar has to
 +            be defined her for this particular parameter
 +
 +# tseries parameter   = tag | fimexname                | Unit | extradim1 start1 len1 | extradim2 ...
 +#
 +#
 +
 +
 +MSLP,x,x,x = netcdf | air_pressure_at_sea_level         | hPa      | height 0 1
 +TT,x,x,  = netcdf | air_temperature_2m                | Celsius
 +UU,x,x,  = netcdf | x_wind_10m                        | kt
 +
 +# with a defined RRAC, tseries knows automatically how to extract RR from it
 +RRAC,x,x,x = netcdf | precipitation_amount_acc          | kg/m^2
 +# Postprocessed temperature - alias...
 +TTPP,x,x,x = netcdf | air_temperature_2m                | Celsius
 +
 +## Wrf data
 +
 +MSLP,x,x,x = wrf | air_pressure_at_sea_level      | hPa     
 +TT,x,x,  = wrf | T2                             | Celsius
 +UU,x,x,  = wrf | U10                            | kt  | 
 +VV,x,x,  = wrf | V10                            | kt  | 
 +
 +</code>
  
  
Line 173: Line 267:
  
 ===The [models] section=== ===The [models] section===
-Any model have to be defined in the models section, it also allows to change the display name of the model in the diagrams. The key has to be equal the stream name from tseries.ctl like+All Models have to be defined in the models section, here one can change the display name of the model in the diagrams. The key has to be equal the stream name from tseries.ctl
 + 
 +Example:
 <code> <code>
  ECMWF=Ecmwf  ECMWF=Ecmwf
 </code> </code>
  
-ECMWF is the DataDescription from tseries.ctl, Ecmwf will be displayed in the menus+ECMWF equals the DataDescription from tseries.ctl, Ecmwf will be displayed in the //Tseries// GUI menus
  
  
Line 193: Line 289:
 NAME=Meteogram NAME=Meteogram
 # The connected style file # The connected style file
-STYLEFILE=/usr/share/tseries/5.3/style/style.meteogram+STYLEFILE=meteogram.style
 # The streams connected to this diagram # The streams connected to this diagram
 [LEGALMODELS] [LEGALMODELS]
Line 199: Line 295:
 MODEL=HARMONIE_2.5km MODEL=HARMONIE_2.5km
  
-modelindependent means, that these parameters will be taken from # all models, if available+Modelindependent = These parameters will be taken from  
 +# all models, if available 
 [MODELINDEPENDENT] [MODELINDEPENDENT]
 PARAM=UU,x,x,x PARAM=UU,x,x,x
Line 207: Line 305:
 [END] [END]
  
-modelspecific means that these parameters are only used if they come from the specified model. +Modelspecific = These parameters are only used if they come from the specified model. 
-modflspecifi values are not necessary part of the legalmodels. +Modelspecific values are not necessary part of the legalmodels. 
 # If they are not defined there, they will not occur in the menu # If they are not defined there, they will not occur in the menu
  
Line 356: Line 454:
 There are several types in //Tseries// that can be used by the different elements.  There are several types in //Tseries// that can be used by the different elements. 
  
-Colors:  ^^^ +====Colors====
-| BLACK      |   GREY95           SPRING_GREEN       |  +
-| BLUE      MIST_RED     | IRR_GREEN           |  +
-| GREEN      MIST_GREEN   | MOSS_GREEN         |  +
-| CYAN      MIST_BLUE    | GRASS_GREEN  |  +
-| RED      DARK_GREEN   | THUNDER_GREY       |  +
-| MAGENTA      BROWN     | SEA_BLUE           |  +
-| YELLOW      ORANGE     | SKY_BLUE           |  +
-| WHITE      PURPLE     | ICE_BLUE           |  +
-| GREY25      LIGHT_BLUE   | GLACIER_WHITE      |  +
-| GREY40      DARK_YELLOW  | RAIN_GREY           |  +
-| GREY45      DARK_RED     | IVORY            |  +
-| GREY50      DARK_BLUE    | DARK_IVORY   |  +
-| GREY55      DARK_CYAN    | BLUEGREY     |  +
-| GREY60      DARK_MAGENTA | GREYBROWN           |  +
-| GREY65      MIDNIGHT_BLUE| OLIVE            |  +
-| GREY70      DNMI_GREEN   | MUDDYGREEN         |  +
-| GREY75      DNMI_BLUE    | GREYBLUE     |  +
-| GREY80      RUST_RED     | DARK_BLUEGREY      |  +
-| GREY85      DAWN_RED     | DARKOLIVE           |  +
-| GREY90      SUN_YELLOW   | RED_YELLOW         |  +
-| YELLOW_RED |     |          |  +
-      +
  
-^ Fillpatterns ^ +{{:tseries:pets_colors.png|}} 
 + 
 + 
 + 
 +^ Fillpatterns     
 | DIAGRIGHT        |          | DIAGRIGHT        |         
 | DIAGLEFT      | DIAGLEFT     
Line 390: Line 470:
 | SQUARE        | SQUARE       
 | SOLID      | SOLID     
 +
  
 ^ Linestyle     ^ Linestyle    
Line 396: Line 477:
 | DASHDASHDOTTED    | DASHDASHDOTTED   
 | DOTTED     | DOTTED    
 +
 +
 +
  • tseries/technical.1390376574.txt.gz
  • Last modified: 2022-05-31 09:23:29
  • (external edit)