#----------------------------------------------------------------------------------
# Setupfile for Diana
#----------------------------------------------------------------------------------
# Organized in sections, each section within a <SSS> </SSS> pair, where
# SSS is the name of the section
# Ex: <BASIC> ... </BASIC> contains the 'BASIC' section
#
# Common structures in all sections:
# KEYWORD                     : Turns on/off feature
# KEY=VALUE                   : Defines keyword with value
# KEY=V1,V2,V3                : Defines keyword with list of values
# KEY=V11:V12:V13,V21:V22     : Defines keyword with list of lists of values
# KEY=VALUE KEY=V1,V2,V3 ...  : Combinations of key-defines
#
#----------------------------------------------------------------------------------
# Other features:
# Refer to environment/shell variable XX with ${XX}
# Ex: ${HOME} will be expanded to the home-path
#
# Define local variables with XX=yy (outside all sections), and refer to them
# with $(XX)
# Ex: Add ROOT=/metno/local in a separate line outside all sections.
#     All occurences of $(ROOT) in later lines will be expanded to /metno/local
#
# Long lines may be split up by using '\'. Add a '\' (and newline) where you want to
# split a line.
#
# Include another file with %include "filename". Included file inherits section at
# the point of inclusion. File must start and end with the same section. Files may be
# nested.
#
# Use keyword CLEAR to clear all previous definitions for a specific section. Only
# valid within a section. Useful in local files which include the official setupfile
#----------------------------------------------------------------------------------


<BASIC>
fontpath=$(DIANADIR)/fonts
docpath=$(DIANADIR)/doc
obsPlotFilePath=$(DIANADIR)/etc
qserver=$(ROOT)/bin/coserver
imagepath=$(DIANADIR)/images/
amdarStationList=$(DIANADIR)/etc/amdar.stations
languagepaths=$(DIANADIR)/lang:lang:../lang:$(ROOT)/translations:${QTDIR}/translations
language=no
</BASIC>


<FONTS>
#-----------------------------------------------------------------------------
# font:        Family name
# type:        Bitmap (screen fonts with postscript equivalent) |
#              Scaleable (truetype rendered as polygons)
# name:        X-fontdefinitions for bitmap fonts, name of fontfile for scaleable fonts
# face:        NORMAL | ITALIC | BOLD | BOLD_ITALIC (for scaleable fonts)
# postscript : For bitmap fonts, postscript-equivalent name (for postscript output)

#-----------------------------------------------------------------------------
# Bitmap fonts
#-----------------------------------------------------------------------------
# Use 'xfontsel' at the command line to find appropriate 'name's for your system
#-----------------------------------------------------------------------------
font=Helvetica type=bitmap name=*-helvetica-medium-r*iso8859-1 postscript=Helvetica
font=Helvetica type=bitmap name=*-helvetica-bold-r*iso8859-1   postscript=Helvetica-Bold
font=Helvetica type=bitmap name=*-helvetica-medium-o*iso8859-1 postscript=Helvetica-Oblique
font=Helvetica type=bitmap name=*-helvetica-bold-o*iso8859-1   postscript=Helvetica-BoldOblique

font=Courier   type=bitmap name=*-courier-medium-r*iso8859-1   postscript=Courier
font=Courier   type=bitmap name=*-courier-bold-r*iso8859-1     postscript=Courier-Bold
font=Courier   type=bitmap name=*-courier-medium-o*iso8859-1   postscript=Courier-Oblique
font=Courier   type=bitmap name=*-courier-bold-o*iso8859-1     postscript=Courier-BoldOblique

#-----------------------------------------------------------------------------
# Scalable (truetype/polygon) fonts
#-----------------------------------------------------------------------------
fontpath=$(DIANADIR)/fonts/

font=Arial  type=scaleable face=NORMAL name=Arialn.ttf
font=Arial  type=scaleable face=ITALIC name=Arialni.ttf
font=Arial  type=scaleable face=BOLD   name=Arialnb.ttf

font=Symbol type=scaleable face=NORMAL name=metsymbols.ttf

#-----------------------------------------------------------------------------
# Defaults for 'magic' fontnames
#-----------------------------------------------------------------------------
BITMAPFONT=Helvetica    # Use this as default bitmap-font
SCALEFONT=Arial         # Use this as default scaleable-font
METSYMBOLFONT=Symbol    # Use this as default font for meteorological symbols

</FONTS>


<LABELS>
LABEL data font=Helvetica
LABEL text="$day $date $auto UTC" tcolour=red bcolour=black fcolour=white:200 polystyle=both halign=left valign=top font=Helvetica fontsize=12
LABEL anno=<table,fcolour=white:150> halign=right valign=top polystyle=none margin=0 fontsize=12
LABEL anno=<arrow> halign=right valign=bottom fcolour=220:220:220:160 fontsize=14
</LABELS>


<IMAGE_GALLERY>
basicpath=$(DIANADIR)/images

markerpath=$(DIANADIR)/images/markers
marker=$(DIANADIR)/images/vprof_normal.xpm
marker=$(DIANADIR)/images/vprof_selected.xpm

patternpath=$(DIANADIR)/images/patterns
</IMAGE_GALLERY>


<COLOURS>
#------------------------------------------------------------
# Colour definitions (default set of colours in SetupParser)
#------------------------------------------------------------
white=        255,255,255
grayWhite=    224,224,224
lightGray=    192,192,192
gray=         160,160,164
darkGray=     128,128,128
black=        0,0,0

blue=         0,0,255
red=          255,0,0
green=        0,255,0
cyan=         0,255,255
magenta=      255,0,255
yellow=       255,255,0

lightBlue=    51,51,255

darkRed=      128,0,0
darkGreen=    0,128,0
darkBlue=     0,0,128
darkCyan=     0,128,128
darkMagenta=  128,0,128
darkYellow=   128,128,0

brown=        178,51,0
orange=       255,89,0
purple=       160,32,240

midnightBlue= 25,25,112
dnmiGreen=    43,120,36
dnmiBlue=     0,54,125

green1=       230,255,230
green2=       0,238,0
green3=       0,205,0
green4=       0,139,0
green6=     171,191,8
palegreen = 178,235,154

flesh=      240,158,92
seablue=    117,199,242

landgul=    255,240,196
landgul2=    255,255,240
havblå=     225,255,255
havblå2=     245,255,255
gulbrun=    255,164,71

blank=        0,0,0,0
</COLOURS>


<PALETTES>
#------------------------------------------------------------
# Palettes
#------------------------------------------------------------
lightblue=245:245:255,235:235:255,225:225:255,215:215:255,200:200:255,\
175:175:255,150:150:255,125:125:255,100:100:255,75:75:255,50:50:255,\
25:25:255,0:0:255
lightblue_rev= 0:0:255,25:25:255,50:50:255,75:75:255,100:100:255,\
125:125:255,150:150:255,175:175:255,200:200:255,215:215:255,\
225:225:255,235:235:255,245:245:255
darkblue= 0:0:255,0:0:245,0:0:235,0:0:225,0:0:215,0:0:200,\
0:0:175,0:0:150,0:0:125;0:0:100,0:0:75,0:0:50,0:0:25
darkblue_rev= 0:0:25,0:0:50,0:0:75,0:0:100,0:0:125,0:0:150,\
0:0:175,0:0:200,0:0:215,0:0:225,0:0:235,0:0:245,0:0:255
lightred= 255:245:245,255:235:235,255:225:225,255:215:215,\
255:200:200,255:175:175,255:150:150,255:125:125,255:100:100,\
255:75:75,255:50:50,255:25:25,255:0:0
lightred_rev= 255:25:25,255:50:50,255:75:75,255:100:100,255:125:125,\
255:150:150,255:175:175,255:200:200,255:215:215,255:225:225,255:235:235,\
255:245:245
darkred= 255:0:0,245:0:0,235:0:0,225:0:0,215:0:0,200:0:0,175:0:0,\
150:0:0,150:0:0,100:0:0,75:0:0,50:0:0,25:0:0
darkred_rev= 25:0:0,50:0:0,75:0:0,100:0:0,125:0:0,150:0:0,175:0:0,\
200:0:0,215:0:0,225:0:0,235:0:0,245:0:0,255:0:0
green = 200:255:178,178:235:154,154:215:130,130:200:109,109:175:83,\
64:135:35,40:115:20
green_rev = 40:115:20,64:135:35,109:175:83,130:200:109,154:215:130,\
178:235:154,200:255:178
orange=255:255:230,255:235:200,255:215:170,255:195:140,255:175:110,\
255:155:70,255:135:40
orange_rev=255:135:40,255:155:70,255:175:110,255:195:140,255:215:170,\
255:235:200,255:255:230
no_green=32:96:255,32:159:255,32:191:255,0:207:255,42:255:255,85:255:255,\
127:255:255,170:255:255,255:255:84,255:240:0,255:191:0,255:168:0,255:138:0,\
255:112:0,255:77:0,255:0:0<PALETTES>
no_green_rec=255:0:0,255:77:0,255:112:0,255:138:0,255:168:0,255:191:0,\
255:240:0,255:255:84,170:255:255,127:255:255,85:255:255,42:255:255,\
0:207:255,32:191:255,32:159:255,32:96:255
safsst=151:151:255,100:100:255,0:0:255,0:28:192,0:55:128,0:83:64,\
0:110:0,0:159:0,0:207:0,0:255:0,137:255:27,203:255:53,255:255:63,\
245:230:50,233:205:38,222:179:25,211:154:13,200:128:0,218:85:0,\
237:43:0,255:0:0,195:0:0,129:0:47,195:0:129,255:0:255
ss_eps_pal=255:255:255,255:255:150,255:255:84,255:240:0,255:191:0,\
255:168:0,255:138:0,255:112:0,255:77:0,255:0:0
prob=240:240:240,6:205:128,46:139:87,85:107:47,30:0:139 
ice=150:200:255,140:255:160,140:255:160,140:255:160,255:255:0,\
255:255:0,255:255:0,255:125:7,255:125:7,255:0:0,150:150:150
who_uvi=78:180:0,160:206:0,247:228:0,248:182:0,248:135:0,\
248:89:0,232:44:14,216:0:29,255:0:153,181:76:255
topocolour = 178:235:154,200:255:178,255:255:230,255:235:200,\
255:215:170,255:195:140,255:175:110,255:155:70,255:135:40 
</PALETTES>


<FILLPATTERNS>
#------------------------------------------------------------
# fillpatterns
#------------------------------------------------------------
ice=empty,empty,diag,squares,horizontal,vertical_broken,circles,\
dots,diag,solid,empty

lines=diag,horizontal,vertical

dots=dot-0.05,dot-0.15,dot-0.25,dot-0.35,dot-0.45,dot-0.55,dot-0.65,\
dot-0.75,dot-0.85,dot-0.95,dot-1.0

dots_opposite=dot_opposite-0.05,dot_opposite-0.15,dot_opposite-0.25,\
dot_opposite-0.35,dot_opposite-0.45,dot_opposite-0.55,dot_opposite-0.65,\
dot_opposite-0.75,dot_opposite-0.85,dot_opposite-0.95,dot_opposite-1.0

sectors=sector-0.05,sector-0.15,sector-0.25,sector-0.35,sector-0.45,\
sector-0.55,sector-0.65,sector-0.75,sector-0.85,sector-0.95,sector-1.0

sectors_opposite=sector_opposite-0.05,sector_opposite-0.15,\
sector_opposite-0.25,sector_opposite-0.35,sector_opposite-0.45,\
sector_opposite-0.55,sector_opposite-0.65,sector_opposite-0.75,\
sector_opposite-0.85,sector_opposite-0.95,sector_opposite-1.0 
</FILLPATTERNS>


<LINETYPES>
#------------------------------------------------------------
# Linetypes
#------------------------------------------------------------
solid=   1111111111111111
dash=    1111000011110000
dot=     1100110011001100
dashdot= 1111000011001100
longdash=1111100011111000
sos=     1010101100110011
</LINETYPES>


<PRINTING>
printcommand=lpr -h -{hash}{numcopies} -P {printer} {filename}

# user-defined printer-specific commands
manualcommands=$(DIANADIR)/etc/printer.def
</PRINTING>


<QUICKMENUS>
#------------------------------------------------------------
# files containing different quickmenus
#------------------------------------------------------------
file= $(DIANADIR)/etc/qmenu_analyse.txt
file= $(DIANADIR)/etc/qmenu.txt
file= $(DIANADIR)/etc/qmenu_eps.txt
file= $(DIANADIR)/etc/qmenu_nedbor.txt
file= $(DIANADIR)/etc/Briefing.quick
file= $(DIANADIR)/etc/Produkter.quick
</QUICKMENUS>



<METNOFIELDFILE_PARAMETERS>

#-----------------------------------------------------------------------------------
# met.no FIELD FILE parameters
#
# Syntax:
#   Multilevel:               param_name=param_no
#   Surface and single level: param_name=param_no,vcoord,level
#   Additinal parameters for both types:
#	prod=<produce_number>
#	grid=<grid_number>
#	dtype=<data_type> ..... usually:  1=analysis
#					  2=forecast
#					  3=initialized.analysis
#					  4=parameter.fields (constant during forecast)
#	level=<level_value>
#	idnum=<idnum_value>   (level2 in met.no FieldFile descriptions)
#-----------------------------------------------------------------------------------

#### NWP surface
psurf=8,2,1000
uk_precip3h=17,2,1000:prod=74
accumprecip=17,2,1000
frontalprec=19,2,1000
convecprec=20,2,1000
dpsdt=21,2,1000
tclw=22,2,1000
totcloud=25,2,1000
tksoil=29,2,1000  tk0m=30,2,1000  tk2m=31,2,1000
tdk2m=32,2,1000:prod=98:dtype=1
tdk2m=32,2,1000:prod=98:dtype=2
rh2m=32,2,1000
u10m=33,2,1000  v10m=34,2,1000
globalrad=35,2,1000  fluxsens=36,2,1000  fluxlat=37,2,1000
cloud.fog=39,2,1000  cloud.low=39,2,850  cloud.medium=39,2,500  cloud.high=39,2,300
total.water.vapour=42,2,1000
globalrad.1hr.accum=46,2,1000
ricnum=57,2,1000
mslp=58,2,1000
accumsnow_total_water=63,2,1000
accumsnow_stratiform_water=64,2,1000
accumsnow_convective_water=65,2,1000
accumrain_stratiform=74,2,1000
accumrain_convective=75,2,1000
snowdepth=66,2,1000
roughness=83,2,1000
soil_water_content=85,2,1000
deep_soil_water_content=86,2,1000
shortwave_radiation_flux=87,2,1000
cape=93,2,1000
tk2mland=131,2,1000 
u.maxwind=152,2,1000 v.maxwind=153,2,1000 p.maxwind=154,2,1000
smthconvecprec=171,2,1000
maxconvecprec=172,2,1000
minconvecprec=173,2,1000
stdconvecprec=174,2,1000 
max_duct=123,2,1000
p_max_duct=124,2,1000
z_max_duct=125,2,1000
mx2tk6=121,2,1000
mn2tk6=122,2,1000
10fg6=126,2,1000

#### Inflight levels Simra
z.inflight=1,2,999
z.above.msl.inflight=907,2,999
p.inflight=908,2,999
turbulence.inflight=94,2,999
w.inflight=12,2,999
u.inflight=2,2,999
v.inflight=3,2,999

#### NWP  Constant (Parameter) fields
topography=101,2,1000  znullparam=102,2,1000  sst=103,2,1000  snowcoverage=104,2,1000
albedo=175,2,1000
fraction.land=181,2,1000
roc.param=182,2,1000
tksc.param=183,2,1000
alb.param=184,2,1000
swc.param=186,2,1000
fraction.ice=191,2,1000
fraction.forest=197,2,1000

#### NWP Multilevel parameters
z=1  u=2  v=3  tk=4
p=8  q=9  rh=10  etadot=11  w=12  omega=13  th=18
qcloud=22  levelprecip=23
cloud.level=39
pot.virv=80 montgomery.potential=90
turbulence=94 turb.dissip.length=95

# Automatic for EPS: param+2000=cluster.mean/total.mean
#                    param+3000=cluster.std.dev.
#                    param+4000=single.runs

# ECMWF EPS probability (idnum is level2 in met.no fieldfiles)
probab_precip>1mm=760,2,1000
probab_precip>5mm=761,2,1000
probab_precip>10mm=762,2,1000
probab_precip>20mm=763,2,1000

probab_wind>10ms=768,2,1000
probab_wind>15ms=769,2,1000
probab_wind_gust>15ms=770,2,1000
probab_wind_gust>20ms=771,2,1000
probab_wind_gust>25ms=772,2,1000

probab_t850_anomaly<-2=720,1,850
probab_t850_anomaly>+2=721,1,850
probab_t850_anomaly<-8=722,1,850
probab_t850_anomaly<-4=723,1,850
probab_t850_anomaly>+4=724,1,850
probab_t850_anomaly>+8=725,1,850

# Wave model parameters, surface
significant.wave.height=200,3,0
peak.period=201,3,0
significant.period=202,3,0
peak.direction=203,3,0
mean.direction=204,3,0
significant.windsea.wave.height=210,3,0
significant.swell.wave.height=220,3,0
peak.windsea.period=211,3,0
peak.windsea.direction=212,3,0
mean.windsea.period=213,3,0
mean.windsea.direction=214,3,0
peak.swell.period=221,3,0
peak.swell.direction=222,3,0
mean.swell.period=223,3,0
mean.swell.direction=224,3,0
ustokes=291,3,0  vstokes=292,3,0
ice=293,3,0
tauwg=295,3,0  drag_coefficient=296,3,0  usnew=297,3,0
ff_wind=298,3,10  dd_wind=299,3,10

#### Wave model parameter fields
mpp.processor.map=288,3,0
bottom.depth=290,3,0

#### Sea/Ocean model surface (single level) parameters"
sea.surface=301,8,0
u.average.current=302,8,0
v.average.current=303,8,0
sst_c=308,8,0
mslp=58,8,0
x.stress=309,8,0
y.stress=310,8,0

#### Sea/Ocean model Parameterfields
bottom.depth=351,8,0
frs.alfa.f=352,8,0
frs.alfa.u=353,8,0
frs.alfa.v=354,8,0
river.c.map=355,8,0
river.d.map=356,8,0
mpp.processor.map=357,8,0

#### Sea/Ocean model Multilevel parameters
u.current=302
v.current=303
w.current=304
density=305
salt=307
seatemp.c=308
q2_turb.energy=312
km_vertical_eddy_visc=313
am_horizontal_eddy_visc=314
kh_vertical_diffusion_coefficient=315

#### Sea/Ocean model Multilevel parameters, Biology
nitrogen=371
phosphate=372
silicate=373
detritus=374
diatoms=375
flagellates=376
oxygen=377
silica=378
sediment2=379
sediment1=380

#### Sea/Ocean Icemodel surface (single level) parameters
ice.concentration=340,8,0
ice.thickness=341,8,0
u.ice=342,8,0
v.ice=343,8,0

#### SNAP surface (single level) parameters
hbl.instant=500,2,1000
hbl.average=501,2,1000
precip.snap=502,2,1000

### SNAP pollution Multilevel (Multitype) parameters
###                levels/types in ascii file from SNAP
conc.instant=510
conc.average=511
conc.accum=518
dry.dep=512
wet.dep=513
accum.dry.dep=514
accum.wet.dep=515
mass.in.bl.instant=516
mass.in.bl.average=517
bomb.dry.dep=521
bomb.wet.dep=522
bomb.accum.dry.dep=523
bomb.accum.wet.dep=524

#### LAMEPS Single level Probabilty parameters
lameps_prob_rr>0.1mm=113,2,1000:idnum=1
lameps_prob_rr>0.5mm=113,2,1000:idnum=2
lameps_prob_rr>1.0mm=113,2,1000:idnum=3
lameps_prob_rr>2.5mm=113,2,1000:idnum=4
lameps_prob_rr>5.0mm=113,2,1000:idnum=5
lameps_prob_rr>7.5mm=113,2,1000:idnum=6
lameps_prob_rr>10mm=113,2,1000:idnum=7
lameps_prob_rr>15mm=113,2,1000:idnum=8
lameps_prob_rr>20mm=113,2,1000:idnum=9
lameps_prob_rr>25mm=113,2,1000:idnum=10
lameps_prob_rr>30mm=113,2,1000:idnum=11
lameps_prob_rr>40mm=113,2,1000:idnum=12
lameps_prob_rr>50mm=113,2,1000:idnum=13

lameps_prob_wind>5ms=114,2,1000:idnum=1
lameps_prob_wind>10ms=114,2,1000:idnum=2
lameps_prob_wind>15ms=114,2,1000:idnum=3
lameps_prob_wind>20ms=114,2,1000:idnum=4
lameps_prob_wind>25ms=114,2,1000:idnum=5
lameps_prob_wind>30ms=114,2,1000:idnum=6
lameps_prob_wind>35ms=114,2,1000:idnum=7

lameps_prob_t2m<-30=115,2,1000:idnum=1
lameps_prob_t2m<-25=115,2,1000:idnum=2
lameps_prob_t2m<-20=115,2,1000:idnum=3
lameps_prob_t2m<-15=115,2,1000:idnum=4
lameps_prob_t2m<-10=115,2,1000:idnum=5
lameps_prob_t2m<-5=115,2,1000:idnum=6
lameps_prob_t2m<-2=115,2,1000:idnum=7
lameps_prob_t2m<0=115,2,1000:idnum=8
lameps_prob_t2m>+2=115,2,1000:idnum=9
lameps_prob_t2m>+5=115,2,1000:idnum=10
lameps_prob_t2m>+10=115,2,1000:idnum=11
lameps_prob_t2m>+15=115,2,1000:idnum=12
lameps_prob_t2m>+20=115,2,1000:idnum=13
lameps_prob_t2m>+25=115,2,1000:idnum=14
lameps_prob_t2m>+30=115,2,1000:idnum=15

#### PEPS Single level parameters
peps_no_mod=9255,2,1000
peps_t.2max=9015,2,1000
peps_t.2min=9016,2,1000
peps_prt=9061,2,1000
peps_tsnow=9065,2,1000
peps_ffmax=9032,2,1000
peps_gust=9187,2,1000

#### PEPS Single level Probabilty parameters
peps_prob_rr>10mm=9130,2,1000
peps_prob_rr>20mm=9131,2,1000
peps_prob_rr>25mm=9132,2,1000
peps_prob_rr>30mm=9133,2,1000
peps_prob_rr>40mm=9134,2,1000
peps_prob_rr>50mm=9135,2,1000
peps_prob_rr>60mm=9136,2,1000
peps_prob_rr>70mm=9137,2,1000
peps_prob_rr>80mm=9138,2,1000
peps_prob_rr>90mm=9139,2,1000
peps_prob_rr>100mm=9140,2,1000
peps_prob_ff>10ms=9141,2,1000
peps_prob_ff>15ms=9142,2,1000
peps_prob_ff>20ms=9143,2,1000
peps_prob_ff>25ms=9144,2,1000
peps_prob_snow>1cm=9151,2,1000
peps_prob_snow>5cm=9152,2,1000
peps_prob_snow>10cm=9153,2,1000
peps_prob_snow>15cm=9154,2,1000
peps_prob_snow>20cm=9155,2,1000
peps_prob_snow>25cm=9156,2,1000
peps_prob_gust>10ms=9161,2,1000
peps_prob_gust>14ms=9162,2,1000
peps_prob_gust>15ms=9163,2,1000
peps_prob_gust>18ms=9164,2,1000
peps_prob_gust>20ms=9165,2,1000
peps_prob_gust>25ms=9166,2,1000
peps_prob_gust>29ms=9167,2,1000
peps_prob_gust>33ms=9168,2,1000
peps_prob_gust>39ms=9169,2,1000
peps_prob_t2m<-10=9171,2,1000
peps_prob_t2m<0=9172,2,1000
peps_prob_t2m>+25=9175,2,1000
peps_prob_t2m>+30=9176,2,1000
peps_prob_t2m>+35=9177,2,1000

#### OSISAF Single level fields
osisaf.ice.type=641,2,1000
osisaf.ice.concentration=642,2,1000
osisaf.param_643=643,2,1000
osisaf.ice.edge=644,2,1000
osisaf.param_645=645,2,1000

#### UV
uvi = 900,2,1000

# Season forecasts, Single level
t.2m.season=163,2,1000

t2m_anomali=801,2,1000
t2m_anomali_mean=2801,2,1000
rr_weekly=812,2,1000 

</METNOFIELDFILE_PARAMETERS>


<FIELD_COMPUTE>

# Computations are common for all file types ( met.no FieldFile, Grid, NetCDF,...)
# See diFieldFunctions.h or other documnetation

# computations in pressure levels (".plevel_")
tc=tc.plevel_th(th)
tk=tk.plevel_th(th)
th=th.plevel_tk(tk)
the=the.plevel_tk_rh(tk,rh)
the=the.plevel_th_rh(th,rh)
thesat=thesat.plevel_th(th)
thesat=thesat.plevel_tk(tk)
rh=rh.plevel_tk_q(tk,q)
rh=rh.plevel_th_q(th,q)
tdc=tdc.plevel_th_q(th,q)
tdc=tdc.plevel_tk_q(tk,q)
tdc=tdc.plevel_th_rh(th,rh)
tdc=tdc.plevel_tk_rh(tk,rh)
q=q.plevel_tk_rh(tk,rh)
q=q.plevel_th_rh(th,rh)
qvx,qvy=qvector.plevel_z_th(z,th)
qvx,qvy=qvector.plevel_z_tk(z,tk)
qvectorx=multiply(qvx,1.e+11)
qvectory=multiply(qvy,1.e+11)
qvector.divergence=divergence(qvectorx,qvectory)
ducting=ducting.plevel_tk_rh(tk,rh)
ducting=ducting.plevel_th_rh(th,rh)
ug,vg=geostrophic.wind.plevel_z(z)
uag=subtract(u,ug)
vag=subtract(v,vg)
gvorticity=geostrophic.vorticity.plevel_z(z)
k.index=kindex.plevel_th_rh(th:level=500hPa,th:level=700hPa,rh:level=700hPa,th:level=850hPa,rh:level=850hPa)
k.index=kindex.plevel_tk_rh(tk:level=500hPa,tk:level=700hPa,rh:level=700hPa,tk:level=850hPa,rh:level=850hPa)
ducting.index=ductingindex.plevel_th_rh(th:level=850hPa,rh:level=850hPa)
ducting.index=ductingindex.plevel_tk_rh(tk:level=850hPa,rh:level=850hPa)
showalter.index=showalterindex.plevel_th_rh(th:level=500hPa,th:level=850hPa,rh:level=850hPa)
showalter.index=showalterindex.plevel_tk_rh(tk:level=500hPa,tk:level=850hPa,rh:level=850hPa)
boyden.index=boydenindex.plevel_th_z(th:level=700hPa,z:level=700hPa,z:level=1000hPa)
boyden.index=boydenindex.plevel_tk_z(tk:level=700hPa,z:level=700hPa,z:level=1000hPa)

# computations in hybrid/eta/sigma_norlam levels (needs psurf) (".hlevel_")
tc=tc.hlevel_th_psurf(th,psurf)
tk=tk.hlevel_th_psurf(th,psurf)
th=th.hlevel_tk_psurf(tk,psurf)
the=the.hlevel_th_q_psurf(th,q,psurf)
the=the.hlevel_tk_q_psurf(tk,q,psurf)
thesat=thesat.hlevel_th_psurf(th,psurf)
thesat=thesat.hlevel_tk_psurf(tk,psurf)
tdc=tdc.hlevel_th_q_psurf(th,q,psurf)
tdc=tdc.hlevel_tk_q_psurf(tk,q,psurf)
tdc=tdc.hlevel_th_rh_psurf(th,rh,psurf)
tdc=tdc.hlevel_tk_rh_psurf(tk,rh,psurf)
rh=rh.hlevel_th_q_psurf(th,q,psurf)
rh=rh.hlevel_tk_q_psurf(tk,q,psurf)
q=q.hlevel_th_rh_psurf(th,rh,psurf)
q=q.hlevel_tk_rh_psurf(tk,rh,psurf)
ducting=ducting.hlevel_th_q_psurf(th,q,psurf)
ducting=ducting.hlevel_tk_q_psurf(tk,q,psurf)
p=pressure.hlevel_xx_psurf(th,psurf)
p=pressure.hlevel_xx_psurf(tk,psurf)

# computations in misc atmospheric level types levels (needs pressure in all levels) (".alevel_")
tc=tc.alevel_th_p(th,p)
tk=tk.alevel_th_p(th,p)
th=th.alevel_tk_p(tk,p)
the=the.alevel_th_q_p(th,q,p)
the=the.alevel_tk_q_p(tk,q,p)
thesat=thesat.alevel_th_p(th,p)
thesat=thesat.alevel_tk_p(tk,p)
rh=rh.alevel_th_q_p(th,q,p)
rh=rh.alevel_tk_q_p(tk,q,p)
q=q.alevel_th_rh_p(th,rh,p)
q=q.alevel_tk_rh_p(tk,rh,p)
tdc=tdc.alevel_th_q_p(th,q,p)
tdc=tdc.alevel_tk_q_p(tk,q,p)
tdc=tdc.alevel_th_rh_p(th,rh,p)
tdc=tdc.alevel_tk_rh_p(tk,rh,p)
ducting=ducting.alevel_th_q_p(th,q,p)
ducting=ducting.alevel_tk_q_p(tk,q,p)
ducting=ducting.alevel_th_rh_p(th,rh,p)
ducting=ducting.alevel_tk_rh_p(tk,rh,p)

# computations in isentropic levels (".ilevel_")
ug,vg=geostrophic_wind.ilevel_mpot(montgomery.potential)

# level independant computations, including surface

tc2m=temp_k2c(tk2m)
tc0m=temp_k2c(tk0m)
tcsoil=temp_k2c(tksoil)
tdc2m=temp_k2c(tdk2m)
mx2tc6=temp_k2c(mx2tk6)
mn2tc6=temp_k2c(mn2tk6)
tc2mland=temp_k2c(tk2mland) 

tdk2m=tdk.tk_rh(tk2m,rh2m)
tdc2m=tdc.tk_rh(tk2m,rh2m)
tdc2m=tdc.tc_rh(tc2m,rh2m)

rh2m=rh.tk_tdk(tk2m,tdk2m)
rh2m=rh.tc_tdc(tc2m,tdc2m)

tfp1=thermal.front.parameter_tx(tk)
tfp=multiply(tfp1,1.e+11)

sst_c=temp_k2c_possibly(sst)  # sometimes Celsius, sometimes Kelvin, output Celsius

tcsc.param=temp_k2c(tksc.param)

pressure.tendency.psurf=field.diff.forecast.hour(psurf,-3,0)
pressure.tendency.mslp=field.diff.forecast.hour(mslp,-3,0)

accumprecip=add(frontalprec,convecprec)  # in case the total is not input
frontalprec=add(accumsnow_stratiform_water,accumrain_stratiform)
convecprec=add(accumsnow_convective_water,accumrain_convective)
accumsnow_total_water=add(accumsnow_stratiform_water,accumsnow_convective_water)
totalrain=add(accumrain_stratiform,accumrain_convective)
totalrain=subtract(accumprecip,accumsnow_total_water)
accumrain_stratiform=subtract(frontalprec,accumsnow_stratiform_water)
accumrain_convective=subtract(convecprec,accumsnow_convective_water)

accumprecip.1h=accum.diff.forecast.hour(accumprecip,-1,0)
accumprecip.3h=accum.diff.forecast.hour(accumprecip,-3,0)
accumprecip.6h=accum.diff.forecast.hour(accumprecip,-6,0)
accumprecip.12h=accum.diff.forecast.hour(accumprecip,-12,0)
accumprecip.24h=accum.diff.forecast.hour(accumprecip,-24,0)
accumprecip.36h=accum.diff.forecast.hour(accumprecip,-36,0)

accumfrontalprecip.1h=accum.diff.forecast.hour(frontalprec,-1,0)
accumfrontalprecip.3h=accum.diff.forecast.hour(frontalprec,-3,0)
accumfrontalprecip.6h=accum.diff.forecast.hour(frontalprec,-6,0)
accumfrontalprecip.12h=accum.diff.forecast.hour(frontalprec,-12,0)
accumfrontalprecip.24h=accum.diff.forecast.hour(frontalprec,-24,0)
accumfrontalprecip.36h=accum.diff.forecast.hour(frontalprec,-36,0)

accumconvecprecip.1h=accum.diff.forecast.hour(convecprec,-1,0)
accumconvecprecip.3h=accum.diff.forecast.hour(convecprec,-3,0)
accumconvecprecip.6h=accum.diff.forecast.hour(convecprec,-6,0)
accumconvecprecip.12h=accum.diff.forecast.hour(convecprec,-12,0)
accumconvecprecip.24h=accum.diff.forecast.hour(convecprec,-24,0)
accumconvecprecip.36h=accum.diff.forecast.hour(convecprec,-36,0)

accumsnow_total_water.1h=accum.diff.forecast.hour(accumsnow_total_water,-1,0)
accumsnow_total_water.3h=accum.diff.forecast.hour(accumsnow_total_water,-3,0)
accumsnow_total_water.6h=accum.diff.forecast.hour(accumsnow_total_water,-6,0)
accumsnow_total_water.12h=accum.diff.forecast.hour(accumsnow_total_water,-12,0)
accumsnow_total_water.24h=accum.diff.forecast.hour(accumsnow_total_water,-24,0)
accumsnow_total_water.36h=accum.diff.forecast.hour(accumsnow_total_water,-36,0)

totalrain.1h=accum.diff.forecast.hour(totalrain,-1,0)
totalrain.3h=accum.diff.forecast.hour(totalrain,-3,0)
totalrain.6h=accum.diff.forecast.hour(totalrain,-6,0)
totalrain.12h=accum.diff.forecast.hour(totalrain,-12,0)
totalrain.24h=accum.diff.forecast.hour(totalrain,-24,0)
totalrain.36h=accum.diff.forecast.hour(totalrain,-36,0)

accumrain_stratiform.1h=accum.diff.forecast.hour(accumrain_stratiform,-1,0)
accumrain_stratiform.3h=accum.diff.forecast.hour(accumrain_stratiform,-3,0)
accumrain_stratiform.6h=accum.diff.forecast.hour(accumrain_stratiform,-6,0)
accumrain_stratiform.12h=accum.diff.forecast.hour(accumrain_stratiform,-12,0)
accumrain_stratiform.24h=accum.diff.forecast.hour(accumrain_stratiform,-24,0)
accumrain_stratiform.36h=accum.diff.forecast.hour(accumrain_stratiform,-36,0)

accumrain_convective.1h=accum.diff.forecast.hour(accumrain_convective,-1,0)
accumrain_convective.3h=accum.diff.forecast.hour(accumrain_convective,-3,0)
accumrain_convective.6h=accum.diff.forecast.hour(accumrain_convective,-6,0)
accumrain_convective.12h=accum.diff.forecast.hour(accumrain_convective,-12,0)
accumrain_convective.24h=accum.diff.forecast.hour(accumrain_convective,-24,0)
accumrain_convective.36h=accum.diff.forecast.hour(accumrain_convective,-36,0)

accumsnow_stratiform_water.1h=accum.diff.forecast.hour(accumsnow_stratiform_water,-1,0)
accumsnow_stratiform_water.3h=accum.diff.forecast.hour(accumsnow_stratiform_water,-3,0)
accumsnow_stratiform_water.6h=accum.diff.forecast.hour(accumsnow_stratiform_water,-6,0)
accumsnow_stratiform_water.12h=accum.diff.forecast.hour(accumsnow_stratiform_water,-12,0)
accumsnow_stratiform_water.24h=accum.diff.forecast.hour(accumsnow_stratiform_water,-24,0)
accumsnow_stratiform_water.36h=accum.diff.forecast.hour(accumsnow_stratiform_water,-36,0)

accumsnow_convective_water.1h=accum.diff.forecast.hour(accumsnow_convective_water,-1,0)
accumsnow_convective_water.3h=accum.diff.forecast.hour(accumsnow_convective_water,-3,0)
accumsnow_convective_water.6h=accum.diff.forecast.hour(accumsnow_convective_water,-6,0)
accumsnow_convective_water.12h=accum.diff.forecast.hour(accumsnow_convective_water,-12,0)
accumsnow_convective_water.24h=accum.diff.forecast.hour(accumsnow_convective_water,-24,0)
accumsnow_convective_water.36h=accum.diff.forecast.hour(accumsnow_convective_water,-36,0)

# UK precipitation (not accumulation from start of forecast, for 3 hours)
accumprecip.3h=sum_of_forecast_hours(uk_precip3h,0)
accumprecip.6h=sum_of_forecast_hours(uk_precip3h,-3,0)
accumprecip.12h=sum_of_forecast_hours(uk_precip3h,-9,-6,-3,0)
accumprecip.24h=sum_of_forecast_hours(uk_precip3h,-21,-18,-15,-12,-9,-6,-3,0)
#accumprecip.30h=sum_of_forecast_hours(uk_precip3h,-27,-24,-21,-18,-15,-12,-9,-6,-3,0)
#accumprecip.36h=sum_of_forecast_hours(uk_precip3h,-33,-30,-27,-24,-21,-18,-15,-12,-9,-6,-3,0)
#accumprecip.42h=sum_of_forecast_hours(uk_precip3h,-39,-36,-33,-30,-27,-24,-21,-18,-15,-12,-9,-6,-3,0)

#..........................................the 3 last constants: precipMin,snowRateMax,tMax(C)
danger.undercooled.rain=undercooled.rain(accumprecip.3h,accumsnow_total_water.3h,tk0m,0.2,0.08,0.0)

dz.500-1000=subtract(z:level=500hPa,z:level=1000hPa)
dz.700-1000=subtract(z:level=700hPa,z:level=1000hPa)
dz.850-1000=subtract(z:level=850hPa,z:level=1000hPa)
dz.500-925=subtract(z:level=500hPa,z:level=925hPa)
dz.700-925=subtract(z:level=700hPa,z:level=925hPa)
dz.500-850=subtract(z:level=500hPa,z:level=850hPa)
dz.300-700=subtract(z:level=300hPa,z:level=700hPa)

peps_t.2max_c=temp_k2c(peps_t.2max)
peps_t.2min_c=temp_k2c(peps_t.2min)

z.foot.inflight=multiply(z.inflight,3.2808399)

ff.maxwind=vector.abs(u.maxwind,v.maxwind)
ff.maxwind.knot=multiply(ff.maxwind,1.94384)  # 1 knot = 1 m/s * 3600s/1852m
flightlevel.maxwind=pressure2FlightLevel(p.maxwind)
flightlevel.inflight=pressure2FlightLevel(p.inflight)

flightlevel=pressure2FlightLevel(p)

fluxs.3h=accum.diff.forecast.hour(fluxsens,-3,0)
fluxsens.3h=divide(fluxs.3h,10800)	
fluxs.6h=accum.diff.forecast.hour(fluxsens,-6,0)
fluxsens.6h=divide(fluxs.6h,21600)	
fluxs.12h=accum.diff.forecast.hour(fluxsens,-12,0)
fluxsens.12h=divide(fluxs.12h,43200)	

fluxl.3h=accum.diff.forecast.hour(fluxlat,-3,0)
fluxlat.3h=divide(fluxl.3h,10800)	
fluxl.6h=accum.diff.forecast.hour(fluxlat,-6,0)
fluxlat.6h=divide(fluxl.6h,21600)	
fluxl.12h=accum.diff.forecast.hour(fluxlat,-12,0)
fluxlat.12h=divide(fluxl.12h,43200)	

fluxsl.3h=add(fluxsens.3h,fluxlat.3h)	
fluxsl.6h=add(fluxsens.6h,fluxlat.6h)	
fluxsl.12h=add(fluxsens.12h,fluxlat.12h)	

tc=temp_k2c(tk)
tk=temp_c2k(tc)
vorticity=rel.vorticity(u,v)
divergence=divergence(u,v)
absvorticity=abs.vorticity(u,v)

advection.vorticity=advection(vorticity,u,v,24.)
advection.t=advection(tk,u,v,24.)

tdc=tdc.tk_rh(tk,rh)
tdc=tdc.tc_rh(tc,rh)
rh=rh.tk_tdk(tk,tdk)
rh=rh.tc_tdc(tc,tdc)

the.gradient1=abs.del(the)
the.gradient=multiply(the.gradient1,100000.)  # new unit K/100km

mfield=momentum.x.coordinate(v,0.2e-4)
nfield=momentum.y.coordinate(u,0.2e-4)
jacobian.mn1=jacobian(mfield,nfield)
jacobian.mn=multiply(jacobian.mn1,1.e+9)

ff=vector.abs(u,v)
ff10m=vector.abs(u10m,v10m)
ff.inflight=vector.abs(u.inflight,v.inflight)

ffknots=multiply(ff,1.94384)        # 1 knot = 1 m/s * 3600s/1852m
ff10mknots=multiply(ff10m,1.94384)  # 1 knot = 1 m/s * 3600s/1852m

windcooling=windcooling_tk_u_v(tk2m,u10m,v10m)
windcooling=windcooling_tc_u_v(tc2m,u10m,v10m)

thediff.850-925=subtract(the:level=850hPa,the:level=925hPa)
thediff.700-925=subtract(the:level=700hPa,the:level=925hPa)
thediff.500-925=subtract(the:level=500hPa,the:level=925hPa)
thediff.700-850=subtract(the:level=700hPa,the:level=850hPa)
thediff.500-850=subtract(the:level=500hPa,the:level=850hPa)

tdiff.sst-500=subtract(sst,tk:level=500hPa)
tdiff.1000-sst=subtract(tk:level=1000hPa,sst)
tdiff.500-1000=subtract(tk:level=500hPa,tk:level=1000hPa)

tcmean.500-1000=tcmean.plevel_z1_z2(z:level=500hPa,z:level=1000hPa)
#tkmean.500-1000=tkmean.plevel_z1_z2(z:level=500hPa,z:level=1000hPa)
#thmean.500-1000=thmean.plevel_z1_z2(z:level=500hPa,z:level=1000hPa)

#Ising - Med formelen ff10m*(-1.7-tc2m)/(1+0.4*(sst+1.7))   - Overland (1990)
sst_c_corr=maxvalue.field.const(sst_C,-1.7) #Godtar ikke sst lavere enn -1.7
ppr_Tf_Ta=subtract(-1.7,tc2m)
ppr_teller=multiply(ff10m,ppr_Tf_Ta)
ppr_Tsea_Tf=add(sst_c_corr,1.7)
ppr_04Tsea_Tf=multiply(0.4,ppr_Tsea_Tf)
ppr_nevner=add(1,ppr_04Tsea_Tf)
vessel_icing=divide(ppr_teller,ppr_nevner)

windcooling_minus=subtract(0,windcooling) #For å vise graden av forfrysningsfare som felt. 

# for ocean model fields
current.speed=vector.abs(u.current,v.current)
average.current.speed=vector.abs(u.average.current,v.average.current)
stress=vector.abs(x.stress,y.stress)

# for ocean model fields in z levels (".ozlevel_")
sea.soundspeed=sea.soundspeed.ozlevel_tc_salt(seatemp.c,salt)
sea.soundspeed=sea.soundspeed.ozlevel_tk_salt(seatemp.k,salt)
ice.speed=vector.abs(u.ice,v.ice)

# SNAP
total.dep=add(dry.dep,wet.dep)
accum.total.dep=add(accum.dry.dep,accum.wet.dep)
mass.above.bl.instant=subtract(100.,mass.in.bl.instant)
mass.above.bl.average=subtract(100.,mass.in.bl.average)
bomb.total.dep=add(bomb.dry.dep,bomb.wet.dep)
bomb.accum.total.dep=add(bomb.accum.dry.dep,bomb.accum.wet.dep)

# OSISAF (som felt)
osisaf.ice.concentration.classes=values2classes(osisaf.ice.concentration,0.0,0.1,19.9,39.9,59.9,79.9,99.9,999.)

# Sesong-varsler
t.2m.season_c=temp_k2c(t.2m.season)

</FIELD_COMPUTE>


<FIELD_PLOT>

################### NWP models ##################################


##### surface etc. ##########

field=MSLP
      text = "Mean Sea Level Pressure"
      colour=blue linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(mslp)
end.field

field=Tendens
      colour=red linetype=solid linewidth=1 line.interval=1.
      zero.line=0 field.smooth=1
      # prefer tendency(psurf), if not found try tendency(mslp)
      plot=CONTOUR(pressure.tendency.psurf|pressure.tendency.mslp)
end.field

field=T.2M
      text = "2m Temperature"
      colour=red line.interval=2.
      plot=CONTOUR(tc2m|tk2m)
end.field

field=VIND.10M
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(u10m,v10m)
end.field

field=VIND.10M.PIL
      text = "VIND.10M"
      colour=red linetype=solid linewidth=2 rel.size=1. density=AUTO
      vector.unit=10.
      plot=VECTOR(u10m,v10m)
end.field

field=FF.10M
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ff10m)
end.field

field=FF.10M_farget
      value.range=0.,20.
      colour=orange
      plot=ALPHA_SHADE(ff10m)
end.field

field=FF.10M.KNOP
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ff10mknots)
end.field

loop [HR]=1,3,6,12,24,36
loop [LINE] = "0.1,0.2,0.5,1,2,4,6,10,15,...40","0.2,0.5,1,2,4,6,10,15,...80",\
"0.5,1,2,4,6,10,15,...100","1,2,4,6,10,15,...200",\
"0.5,1,2,4,6,10,15,...300","0.5,1,2,4,6,10,15,...70,80,...400"

field=NEDBØR.[HR]T
      colour=red linetype=solid linewidth=1 line.values=[LINE]
      plot=CONTOUR(accumprecip.[HR]h)
end.field

loop [HR]=1,3,6,12,24,36
loop [LINE] = "0.1,0.2,0.5,1,2,4,6,10,15,...40","0.2,0.5,1,2,4,6,10,15,...80",\
"0.5,1,2,4,6,10,15,...100","1,2,4,6,10,15,...200",\
"0.5,1,2,4,6,10,15,...300","0.5,1,2,4,6,10,15,...70,80,...400"

field=NEDBØR(SNØ).[HR]T
      colour=red linetype=solid linewidth=1 line.values=[LINE]
      plot=CONTOUR(accumsnow_total_water.[HR]h)
end.field

field=Underkjølt.Regn
      colour=red
      minvalue=0.5 maxvalue=999.
      plot=ALARM_BOX(danger.undercooled.rain)   # alarm if minvalue<value<maxvalue
end.field

field=TOTALT.SKYDEKKE
      colour=red value.range=0.,100.
      plot=ALPHA_SHADE(totcloud)
end.field

field=TÅKE
      colour=red value.range=0.,100.
      plot=ALPHA_SHADE(cloud.fog)
end.field

field=LAVE_SKYER
      colour=white value.range=0.,100.
      plot=ALPHA_SHADE(cloud.low)
end.field

field=MIDDELS_HØYE_SKYER
      colour=red value.range=0.,100.
      plot=ALPHA_SHADE(cloud.medium)
end.field

field=HØYE_SKYER
      colour=red value.range=0.,100.
      plot=ALPHA_SHADE(cloud.high)
end.field

field=LAVE_SKYER_CONTOUR
      colour=white line.values=40,60,80,100
      plot=CONTOUR(cloud.low)
end.field

field=MIDDELS_HØYE_SKYER_CONTOUR
      colour=red line.values=40,60,80,100
      plot=CONTOUR(cloud.medium)
end.field

field=HØYE_SKYER_CONTOUR
      colour=red line.values=40,60,80,100
      plot=CONTOUR(cloud.high)
end.field

field=TCLW
      colour=red linetype=solid linewidth=1 line.interval=0.1
      plot=CONTOUR(tclw)
end.field

field=Snø_dybde
      colour=red
      line.values=0.01,0.02,0.04,0.06,0.10,0.15,0.20,0.25,0.3,0.4,0.5,1.,2.,5.
      plot=CONTOUR(snowdepth)
end.field

field=Skredfare
      forecast.length=+000,+06,+12,+24,+36,+48,+240
      forecast.value.min=3.,15.,25.,40.,50.,60.,250.
      colour=red
      plot=ALARM_BOX(accumprecip)   # alarm if value>value.min
end.field

field=Vindavkjøling
     colour=red linetype=solid linewidth=1 line.interval=5.
     plot=CONTOUR(windcooling)
end.field

field=K-INDEX
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(k.index)
end.field

field=BOYDEN-INDEX
      colour=red linetype=solid linewidth=1 line.interval=4.
      plot=CONTOUR(boyden.index)
end.field

field=SHOWALTER-INDEX
      colour=red linetype=solid linewidth=1 line.interval=4.
      plot=CONTOUR(showalter.index)
end.field

field=DUCTING-INDEX
      colour=red linetype=solid linewidth=1 line.interval=3.
      plot=CONTOUR(ducting.index)
end.field

field=T.2M.land
     text = "2m Temperature land"
     colour=blue line.interval=2.
     plot=CONTOUR(tc2mland|tk2mland)
end.field 

field=T.0M
      #"0m Temperature"
      colour=red linetype=solid linewidth=1 line.interval=2.
      plot=CONTOUR(tc0m)
end.field

field=Tsoil
      #"Soil Temperature"
      colour=red linetype=solid linewidth=1 line.interval=2.
      plot=CONTOUR(tcsoil)
end.field

field=RH.2M
      #"2m Relative Humidity"
      colour=red linetype=solid linewidth=1 line.interval=2.
      plot=CONTOUR(rh2m)
end.field

field=Td.2M
      #"2m Dewpoint temp."
      colour=red linetype=solid linewidth=1 line.interval=2.
      plot=CONTOUR(tdc2m)
end.field

field=CAPE
      #"Convective Potential Available Energy"
      colour=red linetype=solid linewidth=1 line.interval=100.
      plot=CONTOUR(cape)
end.field

loop [HR] = 1,3,6,12,24
loop [LINE] = "0.1,0.2,0.5,1,2,4,6,10,15,...40","0.2,0.5,1,2,4,6,10,15,...80",\
"0.5,1,2,4,6,10,15,...100","1,2,4,6,10,15,...200",\
"0.5,1,2,4,6,10,15,...300","0.5,1,2,4,6,10,15,...70,80,...400"

field="FRONTAL_NEDBØR.[HR]T"
      colour=red linetype=solid linewidth=1 line.values=[LINE] 
      plot=CONTOUR(accumfrontalprecip.[HR]h)
end.field

loop [HR] = 1,3,6,12,24,36
loop [LINE] = "0.1,0.2,0.5,1,2,4,6,10,15,...40","0.2,0.5,1,2,4,6,10,15,...80",\
"0.5,1,2,4,6,10,15,...100","1,2,4,6,10,15,...200",\
"0.5,1,2,4,6,10,15,...300","0.5,1,2,4,6,10,15,...70,80,...400"

field="KONVEKTIV_NEDBØR.[HR]T"
      colour=red linetype=solid linewidth=1 line.values=[LINE] 
      plot=CONTOUR(accumconvecprecip.[HR]h)
end.field


field=NEDBØR.AKKUMULERT
      colour=red linetype=solid linewidth=1
      line.values=1,2,4,6,10,15,...50,60,...500
      plot=CONTOUR(accumprecip)
end.field

field=RIC
      colour=red line.interval=10.
      plot=CONTOUR(ricnum)
end.field

field=PS
      colour=red line.interval=25.
      plot=CONTOUR(psurf)
end.field

field=DPS/DT
      colour=red line.interval=0.001
      zero.line=1
      plot=CONTOUR(dpsdt)
end.field

field=U10M
      colour=red linetype=solid linewidth=1 line.interval=2.5
      zero.line=1
      plot=CONTOUR(u10m)
end.field

field=V10M
      colour=red linetype=solid linewidth=1 line.interval=2.5
      zero.line=1
      plot=CONTOUR(v10m)
end.field

field=MAX.VIND
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(u.maxwind,v.maxwind)
end.field

field=MAX.VIND.PIL
      colour=red linetype=solid linewidth=2 rel.size=1. density=AUTO
      vector.unit=10.
      plot=VECTOR(u.maxwind,v.maxwind)
end.field

field=FF.MAX.VIND
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ff.maxwind)
end.field

field=FF.MAX.VIND.KNOP
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ff.maxwind.knot)
end.field

field=P(MAX.VIND)
      colour=red linetype=solid linewidth=1 line.interval=50.
      plot=CONTOUR(p.maxwind)
end.field

field=FlightLevel(MAX.VIND)
      colour=blue
      line.values=0,25,50,100,140,180,240,300,340,390,450,530,600,700,800
      plot=CONTOUR(flightlevel.maxwind)
end.field

field=Global_stråling
      colour=red linetype=solid linewidth=1 line.interval=5000.
      zero.line=1
      plot=CONTOUR(globalrad)
end.field

loop [HR]=3,6,12
field=FLUXS.avg_[HR]h
      colour=red linetype=solid linewidth=1 line.interval=50.
      zero.line=1
      plot=CONTOUR(fluxsens.[HR]h)
end.field

loop [HR]=3,6,12
field=FLUXL.avg_[HR]h
      colour=red linetype=solid linewidth=1 line.interval=50.
      zero.line=1
      plot=CONTOUR(fluxlat.[HR]h)
end.field

loop [HR]=3,6,12
field=FLUX.S+L.avg_[HR]h
      colour=red linetype=solid linewidth=1 line.interval=50.
      zero.line=1
      plot=CONTOUR(fluxsl.[HR]h)
end.field

field=Vertikalt_integrert_vanndamp
      colour=red linetype=solid linewidth=1 line.interval=10.
      plot=CONTOUR(total.water.vapour)
end.field

field=Roughness
      colour=red linetype=solid linewidth=1 line.interval=0.01
      plot=CONTOUR(roughness)
end.field

field=Soil_water_content
      colour=red linetype=solid linewidth=1 line.interval=0.1
      plot=CONTOUR(soil_water_content)
end.field

field=Deep_soil_water_content
      colour=red linetype=solid linewidth=1 line.interval=0.1
      plot=CONTOUR(deep_soil_water_content)
end.field

field=Shortwave_radiation_flux
      colour=red linetype=solid linewidth=1 line.interval=5000.
      plot=CONTOUR(shortwave_radiation_flux)
end.field

field=Albedo
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(albedo)
end.field

field=Snø(total_vannekvivalent)
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(accumsnow_total_water)
end.field

field=Snø(stratiform_vannekvivalent)
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(accumsnow_stratiform_water)
end.field

field=Snø(konvektiv_vannekvivalent)
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(accumsnow_convective_water)
end.field

#Do anyone use this?
#loop [HR]=30,36,37,42
#field=NEDBØR.[HR]T
#      colour=red linetype=solid linewidth=1
#      line.values=0.5,1,2,4,6,10,15,...70,80,...400
#      plot=CONTOUR(accumprecip.[HR]h)
#end.field

field=Turbulensintensitet
      colour=red linetype=solid linewidth=1 line.interval=0.01
      plot=CONTOUR(turbulence)
end.field

field=Turb.dissip.length
      colour=blue linetype=solid linewidth=1 line.interval=0.01
      plot=CONTOUR(turb.dissip.length)
end.field


field=smthconvecprec
    colour=red linetype=solid linewidth=1
    line.interval=2.5
    plot=CONTOUR(smthconvecprec)
end.field

field=maxconvecprec
    colour=red linetype=solid linewidth=1
    line.interval=2.5
    plot=CONTOUR(maxconvecprec)
end.field

field=minconvecprec
    colour=red linetype=solid linewidth=1
    line.interval=2.5
    plot=CONTOUR(minconvecprec)
end.field

field=stdconvecprec
    colour=red linetype=solid linewidth=1
    line.interval=2.5        
    plot=CONTOUR(stdconvecprec)
end.field 

field=max_duct
     colour=red linetype=solid linewidth=2 line.interval=5.
     plot=CONTOUR(max_duct)
end.field

field=p_max_duct
     colour=red linetype=solid linewidth=2 line.interval=10.
     plot=CONTOUR(p_max_duct)
end.field

field=z_max_duct
     colour=red linetype=solid linewidth=2 line.interval=10.
     plot=CONTOUR(z_max_duct)
end.field 
### Inflight fields (Simra) ###

field=Høyde_if
      fieldgroup="Inflight"
      colour=blue linetype=solid linewidth=1 line.interval=100.
      plot=CONTOUR(z.inflight)
end.field

field=Høyde_fot_if
      fieldgroup="Inflight"
      colour=blue linetype=solid linewidth=1 line.interval=500.
      plot=CONTOUR(z.foot.inflight)
end.field


field=W_if
      fieldgroup="Inflight"
      colour=red linetype=solid linewidth=1 line.interval=1.
      zero.line=1
      plot=CONTOUR(w.inflight)
end.field

field=Turbulens_if
      fieldgroup="Inflight"
      colour=red linetype=solid linewidth=1 line.interval=0.5
      plot=CONTOUR(turbulence.inflight)
end.field

field=Trykk_if
      fieldgroup="Inflight"
      colour=green linetype=solid linewidth=1 line.interval=10.
      plot=CONTOUR(p.inflight)
end.field

field=VIND_if
      fieldgroup="Inflight"
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(u.inflight,v.inflight)
end.field

field=VIND.PIL_if
      fieldgroup="Inflight"
      colour=red linetype=solid linewidth=2 rel.size=1. density=AUTO
      vector.unit=10.
      plot=VECTOR(u.inflight,v.inflight)
end.field

field=MAX.T2M.6T
      colour=red line.interval=2.
      plot=CONTOUR(mx2tc6)
end.field

field=MIN.T2M.6T
      colour=red line.interval=2.
      plot=CONTOUR(mn2tc6)
end.field

field=WIND.GUST.6T
      colour=red line.interval=5.
      plot=CONTOUR(10fg6)
end.field

field=Vessel_icing
    text = "Vessel icing"
    colour=red line.values=0,20.6,45.2,71.4  #Light, Moderate, Heavy, Extreme
    plot=CONTOUR(vessel_icing)
end.field

field=Forfrysningsfare
    text = "Forfrysningsfare"
    colour=red line.values=10,25,45,60  #Light, Moderate, Heavy, Extreme, Stay_inside
    plot=CONTOUR(windcooling_minus)
end.field

######## Fields in several vertical coordinates (p/eta/sigma/pv/....) ###

field=Z
      #"Height"
      colour=blue linetype=solid linewidth=1 line.interval=40.
      plot=CONTOUR(z)
end.field

field=VIND
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(u,v)
end.field

field=VIND.PIL
      colour=red linetype=solid linewidth=2 rel.size=1. density=AUTO
      vector.unit=10.
      plot=VECTOR(u,v)
end.field

field=VIND+TEMP
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND_TEMP_FL(u,v,tc)
end.field

field=VIND+FF
      linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND_COLOUR(u,v,ff)
end.field

field=FF
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ff)
end.field

field=FF.KNOP
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(ffknots)
end.field

field=FF.FARGET
      colour=red value.range=0.,70.
      plot=ALPHA_SHADE(ff)
end.field

field=T
      #"Temperature"
      colour=red linetype=solid linewidth=1 line.interval=3.
      plot=CONTOUR(tc|tk)   # if "tc" doesn't exist, then try "tk"
end.field

field=TH
      #"Potential Temperature"
      colour=red linetype=solid linewidth=1 line.interval=3.
      plot=CONTOUR(th)
end.field

field=THE
      #"Equivalent Potential Temperature"
      colour=red linetype=solid linewidth=1 line.interval=2.5
      plot=CONTOUR(the)
end.field

field=THE_GRADIENT
      colour=red linetype=solid linewidth=1 line.interval=2
      plot=CONTOUR(the.gradient)
end.field

field=Td
      #"Dewpoint temperature"
      colour=red linetype=solid linewidth=1 line.interval=2.5
      plot=CONTOUR(tdc)
end.field

field=RH
      #"Relative Humidity"
      colour=red linetype=solid linewidth=1 line.interval=10.
      plot=CONTOUR(rh)
end.field

field=Q
      #"Specific Humidity"
      colour=red linetype=solid linewidth=1 line.interval=0.005
      plot=CONTOUR(q)
end.field

field=Cloud_in_level
      colour=red value.range=0.,100.
      plot=ALPHA_SHADE(cloud.level)
end.field

field=Pot.Virvling
      colour=red line.values=1,2,3,...12
      plot=CONTOUR(pot.virv)
end.field

field=Q-VEKTOR
      colour=red linewidth=2 rel.size=1. density=1
      vector.unit=1.
      plot=VECTOR(qvectorx,qvectory)
end.field

field=Divergens(Q-VEKTOR)
      colour=red linetype=solid linewidth=1 line.interval=0.00005
      zero.line=1
      plot=CONTOUR(qvector.divergence)
end.field

field=TFP
      colour=red linetype=solid linewidth=1 line.interval=1. zero.line=1
      plot=CONTOUR(tfp)
end.field

field=GEOSTROFISK.VIND
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(ug,vg)
end.field

field=AGEOSTROFISK.VIND
      colour=red linetype=solid linewidth=1 rel.size=1. density=AUTO
      plot=WIND(uag,vag)
end.field

field=QCLOUD
      colour=red linetype=solid linewidth=1 line.interval=0.0001
      plot=CONTOUR(qcloud)
end.field

field=PRECIP.ETA
      colour=red linetype=solid linewidth=1 line.interval=0.2
      plot=CONTOUR(levelprecip)
end.field

field=Virvling
      colour=red linetype=solid linewidth=1 line.interval=0.00005
      zero.line=1
      plot=CONTOUR(vorticity)
end.field

field=Divergens
      colour=red linetype=solid linewidth=1 line.interval=0.00005
      zero.line=1
      plot=CONTOUR(divergence)
end.field

field=Abs.Virvling
      colour=red linetype=solid linewidth=1 line.interval=0.00005
      zero.line=1
      plot=CONTOUR(absvorticity)
end.field

field=Geostrofisk.Virvling
      colour=red linetype=solid linewidth=1 line.interval=0.00005
      zero.line=1
      plot=CONTOUR(gvorticity)
end.field

field=DUCTING
      colour=red linetype=solid linewidth=1 line.interval=10.
      plot=CONTOUR(ducting)
end.field

field=Adveksjon(Virvling)
      colour=red linetype=solid linewidth=1 line.interval=0.0001
      zero.line=1
      plot=CONTOUR(advection.vorticity)
end.field

field=Adveksjon(T)
      colour=red linetype=solid linewidth=1 line.interval=3.
      zero.line=1
      plot=CONTOUR(advection.t)
end.field

field=U
      colour=red linetype=solid linewidth=1 line.interval=40.
      zero.line=1
      plot=CONTOUR(u)
end.field

field=V
      colour=red linetype=solid linewidth=1 line.interval=40.
      zero.line=1
      plot=CONTOUR(v)
end.field

field=Omega
      colour=red linetype=solid linewidth=1 line.interval=0.001
      zero.line=1
      plot=CONTOUR(omega)
end.field

field=Trykk
      colour=red line.interval=25.
      plot=CONTOUR(p)
end.field

field=FlightLevel
      colour=blue
      line.values=0,25,50,100,140,180,240,300,340,390,450,530,600,700,800
      plot=CONTOUR(flightlevel)
end.field

field=Etadot
      colour=red line.interval=0.0001
      zero.line=1
      plot=CONTOUR(etadot)
end.field

field=M.komp
      colour=gray line.interval=2.
      plot=CONTOUR(mfield)
end.field

field=N.komp
      colour=gray line.interval=2.
      plot=CONTOUR(nfield)
end.field

field=JACOBIAN(M,N)
      colours=red,black,blue base=0. line.interval=0.5
      plot=CONTOUR(jacobian.mn)
end.field

field=W
     colour=red linetype=solid linewidth=1 line.interval=0.1
     zero.line=1
     plot=CONTOUR(w)
end.field 

### Single level computations mainly from pressure levels ###

loop [P1]=500,700,850,500,700,500
loop [P2]=1000,1000,1000,925,925,850
field=DZ([P1]-[P2])
      #"Thickness"
      colour=red linetype=solid linewidth=1 line.interval=40.
      plot=CONTOUR(dz.[P1]-[P2])
end.field

loop [P1]=500,500,700,300
loop [P2]=1000,850,1000,700
field="DZ([P1]-[P2])_farget"
      #"Thickness"
      colour=orange value.range=5000.,5600.
      plot=ALPHA_SHADE(dz.[P1]-[P2])
end.field

loop [P1]=850,700,500,700,500
loop [P2]=925,925,925,850,850
field=THE_DIFF([P1]-[P2])
      #"Equivalent Potential Temperature Diff [P2]-[P1]"
      colour=red linetype=solid linewidth=1 line.interval=1
      plot=CONTOUR(thediff.[P1]-[P2])
end.field

field=TSEA-T500
      colours=red,white,blue linetype=dash extreme.type=C+W extreme.size=1 extreme.radius=1 linewidth=2
      line.interval=2. base=-45.
      plot=CONTOUR(tdiff.sst-500)
end.field

field=T1000-TSEA
      colours=red,white,blue linetype=dash extreme.type=C+W extreme.size=1 extreme.radius=1 linewidth=2
      line.interval=2. base=-45.
      plot=CONTOUR(tdiff.1000-sst)
end.field

field=T500-T1000
      #"Temperature difference 500-1000"
      colour=red linetype=solid linewidth=1 line.interval=5.
      plot=CONTOUR(tdiff.500-1000)
end.field


### Parameter fields (constant in time, usually...) ###

field=Topografi
      colour=red line.interval=250.
      plot=CONTOUR(topography)
end.field

field=ZNULL.PARAM
      colour=blue line.interval=1. discontinuous=1
      plot=CONTOUR(znullparam)
end.field

field=SST
      colour=red  line.interval=2.
      plot=CONTOUR(sst_c)
end.field

field=Snødekke(linje)
      colour=red line.interval=20.
      plot=CONTOUR(snowcoverage)
end.field

field=Snødekke(farget)
      colours=darkblue,blue,yellow,magenta,red
      value.range=0.,100.       # limits=19.,39.,59.,79.,99.
      plot=ALPHA_SHADE(snowcoverage)
end.field

field=Fraction_Land
      colour=red line.interval=10.
      plot=CONTOUR(fraction.land)
end.field

field=Fraction_Ice
      colour=red line.interval=10.
      plot=CONTOUR(fraction.ice)
end.field

field=Fraction_Forest
      colour=red line.interval=10.
      plot=CONTOUR(fraction.forest)
end.field

field=ROC
      colour=red line.interval=10.
      plot=CONTOUR(roc.param)
end.field

field=TSC
      colour=red line.interval=2.
      plot=CONTOUR(tcsc.param)
end.field

field=ALB
      colour=red line.interval=2.
      plot=CONTOUR(alb.param)
end.field

field=SWC
      colour=red line.interval=2.
      plot=CONTOUR(swc.param)
end.field


######################## ECMWF EPS ##############################

loop [MM]=1,5,10,20
field=Probability_Precip>[MM]mm/24h
      fieldgroup="EPS probability"
      colour=red line.interval=20.
      plot=CONTOUR(probab_precip>[MM]mm)
end.field

loop [MS]=10,15
field=Probability_Wind>[MS]m/s
      fieldgroup="EPS probability"
      colour=red line.interval=20.
      plot=CONTOUR(probab_wind>[MS]ms)
end.field

loop [MS]=15,20,25
field=Probability_Wind_Gust>[MS]m/s
      fieldgroup="EPS probability"
      colour=red line.interval=20.
      plot=CONTOUR(probab_wind_gust>[MS]ms)
end.field

loop [TA]="<-8","<-4","<-2",">+2",">+4",">+8"
field=Probability_T850_Anomaly[TA]
      fieldgroup="EPS probability"
      colour=red line.interval=20.
      plot=CONTOUR(probab_t850_anomaly[TA])
end.field

######################## LAMEPS ##############################

loop [MS]=5,10,15,20,30,25,35
field=Lameps_Probability_Wind>[MS]m/s
      fieldgroup="EPS probability"
      colour=red line.interval=10.
      plot=CONTOUR(lameps_prob_wind>[MS]ms)
end.field

loop [TA]="<-30","<-25","<-20","<-15","<-10","<-5","<-2","<0",">+2",">+5",">+10",">+15",">+20",">+25",">+30"
field=Lameps_Probability_T2M[TA]
      fieldgroup="EPS probability"
      colour=red line.interval=10.
      plot=CONTOUR(lameps_prob_t2m[TA])
end.field

loop [MM]=0.1,0.5,1.0,2.5,5.0,7.5,10,15,20,25,30,40,50
field=Lameps_Probability_Precip>[MM]mm/6h
    fieldgroup="EPS probability"
    colour=red line.interval=10.
    plot=CONTOUR(lameps_prob_rr>[MM]mm)
end.field 

######################## PEPS ##############################

field=PEPS_NO_MOD
    colour=blue line.interval=1. discontinuous=1
    plot=CONTOUR(peps_no_mod)
end.field

field=PEPS_T.2MAX
    colour=blue line.interval=2.
    plot=CONTOUR(peps_t.2max_c)
end.field

field=PEPS_T.2MIN
    colour=red line.interval=2.
    plot=CONTOUR(peps_t.2min_c)
end.field

field=PEPS_PRT
    colour=red linetype=solid linewidth=1 line.interval=0.1
    plot=CONTOUR(peps_prt)
end.field

field=PEPS_TSNOW
    colour=red linetype=solid linewidth=1 line.interval=0.1
    plot=CONTOUR(Peps_tsnow)
end.field

field=PEPS_FFMAX
    colour=red line.interval=2.
    plot=CONTOUR(peps_ffmax)
end.field

field=PEPS_GUST
     colour=red line.interval=2.
     plot=CONTOUR(peps_gust)
end.field

loop [RR]=10,20,25,30,40,50,60,70,80,90,100
field=PEPS_PROB_RR>[RR]mm
    colour=red line.interval=10.
    plot=CONTOUR(peps_prob_rr>[RR]mm)
end.field

loop [FF]=10,15,20,25
field=PEPS_PROB_FF>[FF]m/s
    colour=red line.interval=10.
    plot=CONTOUR(peps_prob_ff>[FF])
end.field

loop [CM]=1,5,10,15,20,25
field=PEPS_PROB_SNOW>[CM]cm
    colour=red line.interval=10.
    plot=CONTOUR(peps_prob_snow>[CM]cm)
end.field

loop [FF]=10,14,15,18,20,25,29,33,39
field=PEPS_PROB_GUST>[FF]m/s
    colour=blue line.interval=10.
     plot=CONTOUR(peps_prob_gust>[FF]ms)
end.field

loop [TT]="<-10","<0",">+25",">+30",">+35"
field=PEPS_PROB_T2M[TT]
     colour=blue line.interval=10.
     plot=CONTOUR(peps_prob_t2m[TT])
end.field


######################## WAVE/WAM ###############################

field=BOTTOM_DEPTH
      colour=red line.interval=200.
      plot=CONTOUR(bottom.depth)
end.field

field=MPP_Processor_map
      colour=red line.interval=1.0 discontinuous=1
      plot=CONTOUR(mpp.processor.map)
end.field

field=IS(linje)
      colour=red linewidth=3 line.values=0.5
      plot=CONTOUR(ice)
end.field

field=IS(farget)
      colour=darkBlue value.range=0.,1.
      plot=ALPHA_SHADE(ice)
end.field

field=Significant_Wave_Height
      colour=red line.interval=1.
      plot=CONTOUR(significant.wave.height)
end.field

loop [TYPE]=Peak,Significant
field=[TYPE]_period
      colour=red line.interval=1.
      plot=CONTOUR([TYPE].period)
end.field

loop [TYPE] = Peak,Mean
field=[TYPE]_Direction
      colour=red rel.size=1.0
      plot=DIRECTION([TYPE].Direction)
end.field

loop [TYPE] = Peak,Mean
field=[TYPE]_Direction_and_Significant_Height
      colours=darkgray,black,blue,darkblue,magenta,red # N colours
      limits=1.,2.,3.,4.,5.                            # N-1 limits
      rel.size=1.0
      plot=DIRECTION_COLOUR([TYPE].direction,significant.wave.height)
end.field

loop [TYPE] = Peak,Mean
field=[TYPE]_Direction_and_Significant_Height[Auto_color]
      rel.size=1.0
      plot=DIRECTION_COLOUR([TYPE].direction,significant.wave.height)
end.field

loop [TYPE] = WINDSEA,SWELL
field=Significant_[TYPE]_Wave_Height
      colour=red line.interval=1.
      plot=CONTOUR(significant.[TYPE].wave.height)
end.field

loop [TYPE1]=Peak,Peak,Mean,Mean
loop [TYPE2]=WINDSEA,SWELL,WINDSEA,SWELL
field=[TYPE1]_[TYPE2]_period
      colour=red line.interval=1.
      plot=CONTOUR([TYPE1].[TYPE2].period)
end.field

loop [TYPE1]=Peak,Peak,Mean,Mean
loop [TYPE2]=WINDSEA,SWELL,WINDSEA,SWELL
field=[TYPE1]_[TYPE2]_Direction
      colour=red rel.size=1.0
      plot=DIRECTION([TYPE1].[TYPE2].direction)
end.field

field=Stokes_Drift
      colour=red rel.size=1. density=AUTO
      vector.unit=0.2
      plot=VECTOR(ustokes,vstokes)
end.field

field=TAUWG
      colour=red line.interval=0.2
      plot=CONTOUR(tauwg)
end.field

field=Drag_coefficient
      colour=red line.interval=0.01
      plot=CONTOUR(drag_coefficient)
end.field

field=USNEW
      colour=red line.interval=0.1
      plot=CONTOUR(usnew)
end.field

field=Wind.speed
      colour=red line.interval=5.
      plot=CONTOUR(ff_wind)
end.field

field=Wind.direction
      colour=red rel.size=1.0
      plot=DIRECTION(dd_wind)
end.field


######################## OCEAN/MIPOM #############################

loop [F]=F,U,V
field=FRS.alfa[F]
      colour=red line.interval=0.1
      plot=CONTOUR(frs.alfa.[F])
end.field

loop [R]=C,D
field=River.[R]_map
      colour=red line.interval=1.0
      plot=CONTOUR(river.[R].map)
end.field

field=Sea_Surface
      colour=blue line.interval=0.1
      plot=CONTOUR(sea.surface)
end.field

field=Sea_surface_farget
      colour=orange value.range=-2.0,2.0
      plot=ALPHA_SHADE(sea.surface)
end.field

field=Average_current
      colour=red rel.size=1.0 vector.unit=0.2
      plot=VECTOR(u.average.current,v.average.current)
end.field

field=Average_current_speed
      colour=red line.interval=0.1
      plot=CONTOUR(average.current.speed)
end.field

field=Current
      colour=red rel.size=1.0 vector.unit=0.2
      plot=VECTOR(u.current,v.current)
end.field

field=Current_speed
      colour=red line.interval=0.1
      plot=CONTOUR(current.speed)
end.field

field=Salt
      colour=red line.interval=0.5
      plot=CONTOUR(salt)
end.field

field=Temperature
      colour=red line.interval=0.5
      plot=CONTOUR(seatemp.c)
end.field

field=Soundspeed
      colour=blue line.interval=1.0
      plot=CONTOUR(sea.soundspeed)
end.field

field=U.current
      colour=red line.interval=0.1
      zero.line=1
      plot=CONTOUR(u.current)
end.field

field=V.current
      colour=red line.interval=0.1
      zero.line=1
      plot=CONTOUR(v.current)
end.field

field=W.current
      colour=red line.interval=0.001
      zero.line=1
      plot=CONTOUR(w.current)
end.field

field=Density
      colour=red line.interval=0.001
      plot=CONTOUR(density)
end.field

field=Stress
      colour=red rel.size=1.0 vector.unit=0.001
      plot=VECTOR (x.stress,y.stress)
end.field

field=Stress-value
      colour=red line.interval=0.1
      plot=CONTOUR(stress)
end.field

field=X.stress
      colour=red line.interval=0.001
      zero.line=1
      plot=CONTOUR(x.stress)
end.field

field=Y.stress
      colour=red line.interval=0.001
      zero.line=1
      plot=CONTOUR(y.stress)
end.field

field=KH_vertical_diffusion_coefficient
      colour=red line.interval=100.
      plot=CONTOUR(kh_vertical_diffusion_coefficient)
end.field

########### MIPOM BIOLOGY ############

loop [BIO]=Nitrogen,Phosphate,Silicate,Detritus,Diatoms,Flagellates,Oxygen,Silica,Sediment2,Sediment1
loop [LIN]=100.,10.,100.,100.,10.,10.,10.,10.,10.,10.
field=[BIO]
      colour=red line.interval=[LIN]
      plot=CONTOUR([BIO])
end.field

########### MIPOM ICE ############

field=Ice_concentration
      colour=white line.interval=10.
      plot=CONTOUR(ice.concentration)
end.field

field=Ice_concentration(box)
      colour=white
      plot=BOX_PATTERN(ice.concentration)
end.field

field=Ice_concentration(shade)
      colour=white
      plot=ALPHA_SHADE(ice.concentration)
end.field

field=Ice_thickness
      colour=white line.interval=1.
      plot=CONTOUR(ice.thickness)
end.field

field=Ice_speed(vector)
      colour=white rel.size=1. density=AUTO
      vector.unit=0.2
      plot=VECTOR(u.ice,v.ice)
end.field

field=Ice_speed
      colour=white line.interval=0.1
      plot=CONTOUR(ice.speed)
end.field

field=U.ice
     colour=red line.interval=0.1
      zero.line=1
      plot=CONTOUR(u.ice)
end.field

field=V.ice
     colour=red line.interval=0.1
      zero.line=1
      plot=CONTOUR(v.ice)
end.field

########### SNAP - Severe Nuclear Accident Program ############

field=HBL.INSTANT
      colour=red line.interval=100.
      plot=CONTOUR(hbl.instant)
end.field

field=HBL.AVERAGE
      colour=red line.interval=100.
      plot=CONTOUR(hbl.average)
end.field

field=PRECIP.SNAP
      line.values=.2,.5,1.,2.,4.,6.,10.,15.,20.,25.
      colour=red linetype=solid linewidth=1
      plot=CONTOUR(precip.snap)
end.field

# Translate level identifier to (component) name for a fieldgroup,
# read file with same path and name as the fieldfile pluss a suffix string
#
####fieldgroup_level_translation_file="Farlige_stoffer","_level_names"

field=CONC.INSTANT
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(conc.instant)
end.field

field=CONC.AVERAGE
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(conc.average)
end.field

field=CONC.ACCUM
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.1
      plot=CONTOUR(conc.accum)
end.field

field=DRY.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(dry.dep)
end.field

field=WET.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(wet.dep)
end.field

field=TOTAL.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(total.dep)
end.field

field=ACCUM.DRY.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(accum.dry.dep)
end.field

field=ACCUM.WET.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(accum.wet.dep)
end.field

field=ACCUM.TOTAL.DEP
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=1,3
      plot=CONTOUR(accum.total.dep)
end.field

field=MASS.IN.BL.INSTANT
      fieldgroup="Farlige_stoffer"
      colour=red line.interval=100.
      plot=CONTOUR(mass.in.bl.instant)
end.field

field=MASS.ABOVE.BL.INSTANT
      fieldgroup="Farlige_stoffer"
      colour=red line.interval=100.
      plot=CONTOUR(mass.above.bl.instant)
end.field

field=MASS.IN.BL.AVERAGE
      fieldgroup="Farlige_stoffer"
      colour=red line.interval=100.
      plot=CONTOUR(mass.in.bl.average)
end.field

field=MASS.ABOVE.BL.AVERAGE
      fieldgroup="Farlige_stoffer"
      colour=red line.interval=100.
      plot=CONTOUR(mass.above.bl.average)
end.field

field=BOMB.DRY.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.dry.dep)
end.field

field=BOMB.WET.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.wet.dep)
end.field

field=BOMB.TOTAL.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.total.dep)
end.field

field=BOMB.ACCUM.DRY.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.accum.dry.dep)
end.field

field=BOMB.ACCUM.WET.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.accum.wet.dep)
end.field

field=BOMB.ACCUM.TOTAL.DEP%
      fieldgroup="Farlige_stoffer"
      colour=red log.line.values=0.01,0.03
      plot=CONTOUR(bomb.accum.total.dep)
end.field

####################### OSISAF-produkter som felt ######################

field=Istype
      # value:name,value:name,... (for annotations and possibly field edit)
      classes=1:Isfritt,2:Første_år,3:Multi_år,4:Usikker,9:Land,10:Ubestemt
      colour=red line.interval=1. discontinuous=1
      plot=CONTOUR(osisaf.ice.type)
end.field

field=Iskonsentrasjon
      colour=red line.interval=10.
      plot=CONTOUR(osisaf.ice.concentration)
end.field

field=Iskonsentrasjon_klasser
      # value:name,value:name,... (for annotations and possibly field edit)
      classes=0:Hav,1:0-20%,2:20-40%,3:40-60%,4:60-80%,5:80-99%,6:100%
      colour=red line.interval=1. discontinuous=1
      plot=CONTOUR(osisaf.ice.concentration.classes)
end.field

field=param_643
      colour=red line.interval=10.
      plot=CONTOUR(osisaf.param_643)
end.field

field=Iskant
      # value:name,value:name,... (for annotations and possibly field edit)
      classes=1:Isfritt,2:Åpen_is,3:Fast_is,9:Land,10:Ubestemt
      colour=red line.interval=1. discontinuous=1
      plot=CONTOUR(osisaf.ice.edge)
end.field

field=param_645
      colour=red line.interval=10.
      plot=CONTOUR(osisaf.param_645)
end.field

####################### UV  ########## ###########################################

field=UV-indeks
      line.values=0.,1.5,2.5,3.5,4.5,5.5,6.5,7.5,9.5,10.5,20.
      colour=black field.smooth=1  \
      linewidth=2 value.label=1 label.size=1.3 palettecolours=who_uvi \
      table=1 
     plot = CONTOUR(uvi)
end.field

####################### Sesong-varsler ###########################################

field=T.2M.medlem.sesong
      fieldgroup="Sesong medlemmer"
      colour=red line.interval=1.
      plot=CONTOUR(t.2m.season_c)
end.field

####################### Måneds-varsler ###########################################

field=T_ANOMALI.2M
      text = "2m temperatur anomali"
      colour=red line.interval=0.5
      plot=CONTOUR(t2m_anomali)
end.field

field=T_MIDLET_ANOMALI.2M
      text = "2m midlet temperatur anomali"
      colour=red line.interval=0.5
      plot=CONTOUR(t2m_anomali_mean)
end.field

field=NEDBØR.7D
      text = "Akkumulert nedbør 7 døgn"
      colour=red line.interval=10
      plot=CONTOUR(rr_weekly)
end.field 

</FIELD_PLOT>


<FIELD_FILES>

#---------------------------------------------------------------------------
#  m=NAVN t=filetype  g=PRODUSENT:GRIDNUM:GRIDNAVN  g=....  f=FILENAME
#---------------------------------------------------------------------------

Default_Filetype=MetnoFieldFile

archivefilegroup=ARKIV
m=DIANA.arkiv \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2002.arkfelt  \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2003.arkfelt  \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2004.arkfelt  \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2005.arkfelt  \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2006.arkfelt  \
f=$(STARC)/DNMI_DIANA/xfiles/bakkeanalyser_2007.arkfelt

m=HIRLAM.20KM.arkiv      f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdn??.dat_* \
			 f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdnm??.dat_* 

m=HIRLAM.20KM.00.arkiv   f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdn00.dat_* \
		         f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdnm00.dat_* 
m=HIRLAM.20KM.06.arkiv   f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdn06.dat_* \
			 f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdnm06.dat_* 
m=HIRLAM.20KM.12.arkiv   f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdn12.dat_* \
			 f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdnm12.dat_* 
m=HIRLAM.20KM.18.arkiv   f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdn18.dat_* \
			 f=$(STARC)/DNMI_HIRLAM20/*/*/*/grdnm18.dat_* 


filegroup=HIRLAM20km
m=HIRLAM.20KM.00    f=$(OPDATA1)/hirlam20/grdn00.dat    f=$(OPDATA1)/hirlam20/grdnm00.dat    f=$(OPDATA1)/hirlam20/grdni00.dat
m=HIRLAM.20KM.06    f=$(OPDATA1)/hirlam20/grdn06.dat    f=$(OPDATA1)/hirlam20/grdnm06.dat    f=$(OPDATA1)/hirlam20/grdni06.dat
m=HIRLAM.20KM.12    f=$(OPDATA1)/hirlam20/grdn12.dat    f=$(OPDATA1)/hirlam20/grdnm12.dat    f=$(OPDATA1)/hirlam20/grdni12.dat
m=HIRLAM.20KM.18    f=$(OPDATA1)/hirlam20/grdn18.dat    f=$(OPDATA1)/hirlam20/grdnm18.dat    f=$(OPDATA1)/hirlam20/grdni18.dat
m=HIRLAM.20KM.00-1  f=$(OPDATA1)/hirlam20/grdn00.dat-1  f=$(OPDATA1)/hirlam20/grdnm00.dat-1  f=$(OPDATA1)/hirlam20/grdni00.dat-1
m=HIRLAM.20KM.12-1  f=$(OPDATA1)/hirlam20/grdn12.dat-1  f=$(OPDATA1)/hirlam20/grdnm12.dat-1  f=$(OPDATA1)/hirlam20/grdni12.dat-1
m=HIRLAM.20KM.00-2  f=$(OPDATA1)/hirlam20/grdn00.dat-2  f=$(OPDATA1)/hirlam20/grdnm00.dat-2  f=$(OPDATA1)/hirlam20/grdni00.dat-2
m=HIRLAM.20KM.12-2  f=$(OPDATA1)/hirlam20/grdn12.dat-2  f=$(OPDATA1)/hirlam20/grdnm12.dat-2  f=$(OPDATA1)/hirlam20/grdni12.dat-2
m=HIRLAM.20KM.ARKIV.7D   f=$(OPDATA1)/hirlam20/arkhl1.dat  f=$(OPDATA1)/hirlam20/arkhl3.dat  f=$(OPDATA1)/hirlam20/arkhl5.dat  f=$(OPDATA1)/hirlam20/grdn00.dat  f=$(OPDATA1)/hirlam20/grdni00.dat  f=$(OPDATA1)/hirlam20/grdn06.dat  f=$(OPDATA1)/hirlam20/grdni06.dat  f=$(OPDATA1)/hirlam20/grdn12.dat  f=$(OPDATA1)/hirlam20/grdni12.dat  f=$(OPDATA1)/hirlam20/grdn18.dat  f=$(OPDATA1)/hirlam20/grdni18.dat
m=HIRLAM.20KM.ARKIV.M7D  f=$(OPDATA1)/hirlam20/arkhl2a.dat  f=$(OPDATA1)/hirlam20/arkhl2b.dat  f=$(OPDATA1)/hirlam20/arkhl2c.dat  f=$(OPDATA1)/hirlam20/grdnm00.dat  f=$(OPDATA1)/hirlam20/grdnm06.dat  f=$(OPDATA1)/hirlam20/grdnm12.dat  f=$(OPDATA1)/hirlam20/grdn18.dat
m=HIRLAM.20KM.ARKIV.30D  f=$(OPDATA1)/hirlam20/arkhl4.dat  f=$(OPDATA1)/hirlam20/grdn00.dat  f=$(OPDATA1)/hirlam20/grdn06.dat  f=$(OPDATA1)/hirlam20/grdn12.dat  f=$(OPDATA1)/hirlam20/grdn18.dat


filegroup=Bakkeanalyser
m=met.no.ANA  f=$(OPDATA1)/diana/Bakkeanalyse/DNMI-arkfelt.dat
m=VA.ANA      f=$(OPDATA1)/diana/Bakkeanalyse/VA-arkfelt.dat
#m=VV.ANA      f=$(OPDATA1)/diana/Bakkeanalyse/VV-arkfelt.dat
#m=VNN.ANA     f=$(OPDATA1)/diana/Bakkeanalyse/VNN-arkfelt.dat
m=DNMI.ANA    f=$(OPDATA1)/diana/Bakkeanalyse/DNMI-arkfelt.dat

filegroup=Subjektive.prognoser
m=met.no.PROG+18   f=$(OPDATA1)/diana/Prognose+18/DNMI-arkfelt.dat
m=met.no.PROG+36   f=$(OPDATA1)/diana/Prognose+36/DNMI-arkfelt.dat
m=DNMI.PROG+18   f=$(OPDATA1)/diana/Prognose+18/DNMI-arkfelt.dat
m=DNMI.PROG+36   f=$(OPDATA1)/diana/Prognose+36/DNMI-arkfelt.dat

filegroup=HIRLAM12km
m=HIRLAM.12KM.00    f=$(OPDATA2)/hirlam12/h12sf00.dat \
		    f=$(OPDATA2)/hirlam12/h12pl00.dat \		      
		    f=$(OPDATA2)/hirlam12/h12ml00.dat
m=HIRLAM.12KM.06    f=$(OPDATA2)/hirlam12/h12sf06.dat \
		    f=$(OPDATA2)/hirlam12/h12pl06.dat \
		    f=$(OPDATA2)/hirlam12/h12ml06.dat
m=HIRLAM.12KM.12    f=$(OPDATA2)/hirlam12/h12sf12.dat \
		    f=$(OPDATA2)/hirlam12/h12pl12.dat \
		    f=$(OPDATA2)/hirlam12/h12ml12.dat
m=HIRLAM.12KM.18    f=$(OPDATA2)/hirlam12/h12sf18.dat \
		    f=$(OPDATA2)/hirlam12/h12pl18.dat \
		    f=$(OPDATA2)/hirlam12/h12ml18.dat
m=HIRLAM.12KM.00-1  f=$(OPDATA2)/hirlam12/h12sf00.dat-1  \
		    f=$(OPDATA2)/hirlam12/h12pl00.dat-1  \
		    f=$(OPDATA2)/hirlam12/h12ml00.dat-1
m=HIRLAM.12KM.12-1  f=$(OPDATA2)/hirlam12/h12sf12.dat-1  \
		    f=$(OPDATA2)/hirlam12/h12pl12.dat-1  \
		    f=$(OPDATA2)/hirlam12/h12ml12.dat-1
m=HIRLAM.12KM.00-2  f=$(OPDATA2)/hirlam12/h12sf00.dat-2  \
		    f=$(OPDATA2)/hirlam12/h12pl00.dat-2  \
		    f=$(OPDATA2)/hirlam12/h12ml00.dat-2
m=HIRLAM.12KM.12-2  f=$(OPDATA2)/hirlam12/h12sf12.dat-2 \
		    f=$(OPDATA2)/hirlam12/h12pl12.dat-2 \
		    f=$(OPDATA2)/hirlam12/h12ml12.dat-2 

filegroup=HIRLAM10km
m=HIRLAM.10KM.00    f=$(OPDATA1)/hirlam10/grdl00.dat
m=HIRLAM.10KM.12    f=$(OPDATA1)/hirlam10/grdl12.dat
m=HIRLAM.10KM.00-1  f=$(OPDATA1)/hirlam10/grdl00.dat-1
m=HIRLAM.10KM.12-1  f=$(OPDATA1)/hirlam10/grdl12.dat-1
m=HIRLAM.10KM.00-2  f=$(OPDATA1)/hirlam10/grdl00.dat-2
m=HIRLAM.10KM.12-2  f=$(OPDATA1)/hirlam10/grdl12.dat-2
m=HIRLAM.10KM.ARK   f=$(OPDATA1)/hirlam10/ark10km.dat  f=$(OPDATA1)/hirlam10/grdl00.dat  f=$(OPDATA1)/hirlam10/grdl12.dat

filegroup=HIRLAM4km
m=HIRLAM.4KM.00    f=$(OPDATA2)/hirlam4/grdqh00.dat
m=HIRLAM.4KM.12    f=$(OPDATA2)/hirlam4/grdqh12.dat
m=HIRLAM.4KM.00-1  f=$(OPDATA2)/hirlam4/grdqh00.dat-1
m=HIRLAM.4KM.12-1  f=$(OPDATA2)/hirlam4/grdqh12.dat-1
m=HIRLAM.4KM.00-2  f=$(OPDATA2)/hirlam4/grdqh00.dat-2
m=HIRLAM.4KM.12-2  f=$(OPDATA2)/hirlam4/grdqh12.dat-2

filegroup=UM.4km
m=UM.HL.4KM.00    f=$(OPDATA1)/um4km/grdq00.dat
m=UM.HL.4KM.12    f=$(OPDATA1)/um4km/grdq12.dat
m=UM.HL.4KM.00-1  f=$(OPDATA1)/um4km/grdq00.dat-1
m=UM.HL.4KM.12-1  f=$(OPDATA1)/um4km/grdq12.dat-1
m=UM.HL.4KM.00-2  f=$(OPDATA1)/um4km/grdq00.dat-2
m=UM.HL.4KM.12-2  f=$(OPDATA1)/um4km/grdq12.dat-2
m=UM.MO.3KM.06    f=$(OPDATA1)/um4km/grdp06.dat
m=UM.MO.3KM.18    f=$(OPDATA1)/um4km/grdp18.dat
m=UM.MO.3KM.06-1  f=$(OPDATA1)/um4km/grdp06.dat-1
m=UM.MO.3KM.18-1  f=$(OPDATA1)/um4km/grdp18.dat-1
m=UM.MO.3KM.06-2  f=$(OPDATA1)/um4km/grdp06.dat-2
m=UM.MO.3KM.18-2  f=$(OPDATA1)/um4km/grdp18.dat-2

filegroup=UM.4km.exp
m=UM4EXP_00          f=$(OPDATA2)/um4exp/grdqe00.dat
m=UM4EXP_12          f=$(OPDATA2)/um4exp/grdqe12.dat
m=UM4EXP_00-1        f=$(OPDATA2)/um4exp/grdqe00.dat-1
m=UM4EXP_12-1        f=$(OPDATA2)/um4exp/grdqe12.dat-1
m=UM4EXP_00-2        f=$(OPDATA2)/um4exp/grdqe00.dat-2
m=UM4EXP_12-2        f=$(OPDATA2)/um4exp/grdqe12.dat-2

filegroup=UM.1km
m=UM.V-Finnmark.1km.00      f=$(OPDATA2)/um1km/um1hh00.dat
m=UM.V-Finnmark.1km.12      f=$(OPDATA2)/um1km/um1hh12.dat
m=UM.V-Finnmark.1km.00-1    f=$(OPDATA2)/um1km/um1hh00.dat-1
m=UM.V-Finnmark.1km.12-1    f=$(OPDATA2)/um1km/um1hh12.dat-1
m=UM.V-Finnmark.1km.00-2    f=$(OPDATA2)/um1km/um1hh00.dat-2
m=UM.V-Finnmark.1km.12-2    f=$(OPDATA2)/um1km/um1hh12.dat-2
m=UM.Narvik.1km.00          f=$(OPDATA2)/um1km/um1na00.dat
m=UM.Narvik.1km.12          f=$(OPDATA2)/um1km/um1na12.dat
m=UM.Narvik.1km.00-1        f=$(OPDATA2)/um1km/um1na00.dat-1
m=UM.Narvik.1km.12-1        f=$(OPDATA2)/um1km/um1na12.dat-1
m=UM.Narvik.1km.00-2        f=$(OPDATA2)/um1km/um1na00.dat-2
m=UM.Narvik.1km.12-2        f=$(OPDATA2)/um1km/um1na12.dat-2
m=UM.Sandnessjøen.1km.00    f=$(OPDATA2)/um1km/um1sa00.dat
m=UM.Sandnessjøen.1km.12    f=$(OPDATA2)/um1km/um1sa12.dat
m=UM.Sandnessjøen.1km.00-1  f=$(OPDATA2)/um1km/um1sa00.dat-1
m=UM.Sandnessjøen.1km.12-1  f=$(OPDATA2)/um1km/um1sa12.dat-1
m=UM.Sandnessjøen.1km.00-2  f=$(OPDATA2)/um1km/um1sa00.dat-2
m=UM.Sandnessjøen.1km.12-2  f=$(OPDATA2)/um1km/um1sa12.dat-2
m=UM.Stad.1km.00            f=$(OPDATA2)/um1km/um1so00.dat
m=UM.Stad.1km.12            f=$(OPDATA2)/um1km/um1so12.dat
m=UM.Stad.1km.00-1          f=$(OPDATA2)/um1km/um1so00.dat-1
m=UM.Stad.1km.12-1          f=$(OPDATA2)/um1km/um1so12.dat-1
m=UM.Stad.1km.00-2          f=$(OPDATA2)/um1km/um1so00.dat-2
m=UM.Stad.1km.12-2          f=$(OPDATA2)/um1km/um1so12.dat-2
m=UM.Bergen.1km.00          f=$(OPDATA2)/um1km/um1be00.dat
m=UM.Bergen.1km.00-1        f=$(OPDATA2)/um1km/um1be00.dat-1
m=UM.Bergen.1km.00-2        f=$(OPDATA2)/um1km/um1be00.dat-2
m=UM.Grenland.1km.00        f=$(OPDATA2)/um1km/um1gr00.dat
m=UM.Grenland.1km.00-1      f=$(OPDATA2)/um1km/um1gr00.dat-1
m=UM.Grenland.1km.00-2      f=$(OPDATA2)/um1km/um1gr00.dat-2
m=UM.Oslo.1km.00            f=$(OPDATA2)/um1km/um1os00.dat
m=UM.Oslo.1km.00-1          f=$(OPDATA2)/um1km/um1os00.dat-1
m=UM.Oslo.1km.00-2          f=$(OPDATA2)/um1km/um1os00.dat-2
m=UM.Stavanger.1km.00       f=$(OPDATA2)/um1km/um1st00.dat
m=UM.Stavanger.1km.00-1     f=$(OPDATA2)/um1km/um1st00.dat-1
m=UM.Stavanger.1km.00-2     f=$(OPDATA2)/um1km/um1st00.dat-2
m=UM.Trondheim.1km.00       f=$(OPDATA2)/um1km/um1va00.dat
m=UM.Trondheim.1km.12       f=$(OPDATA2)/um1km/um1va12.dat
m=UM.Trondheim.1km.00-1     f=$(OPDATA2)/um1km/um1va00.dat-1
m=UM.Trondheim.1km.12-1     f=$(OPDATA2)/um1km/um1va12.dat-1
m=UM.Trondheim.1km.00-2     f=$(OPDATA2)/um1km/um1va00.dat-2
m=UM.Trondheim.1km.12-2     f=$(OPDATA2)/um1km/um1va12.dat-2

filegroup=MM5.Byluft+Vindkraft
m=MM5.OSLO.3KM       f=$(OPDATA2)/byluft/mm5stoslo3km.flt
m=MM5.OSLO.1KM       f=$(OPDATA2)/byluft/mm5stoslo1km.flt
m=MM5.DRAMMEN.1KM    f=$(OPDATA2)/byluft/mm5drammen1km.flt
m=MM5.GRENLAND.3KM   f=$(OPDATA2)/byluft/mm5grenland3km.flt
m=MM5.GRENLAND.1KM   f=$(OPDATA2)/byluft/mm5grenland1km.flt
m=MM5.STAVANGER.3KM  f=$(OPDATA2)/byluft/mm5stavanger3km.flt
m=MM5.STAVANGER.1KM  f=$(OPDATA2)/byluft/mm5stavanger1km.flt
m=MM5.BERGEN.3KM     f=$(OPDATA2)/byluft/mm5bergen3km.flt
m=MM5.BERGEN.1KM     f=$(OPDATA2)/byluft/mm5bergen1km.flt
m=MM5.TRONDHEIM.3KM  f=$(OPDATA2)/byluft/mm5trondheim3km.flt
m=MM5.TRONDHEIM.1KM  f=$(OPDATA2)/byluft/mm5trondheim1km.flt
m=MM5.HAVØYSUND.3KM  f=$(OPDATA2)/vindkraft/mm5havoy3km.flt
m=MM5.HAVØYSUND.1KM  f=$(OPDATA2)/vindkraft/mm5havoy1km.flt

filegroup=Simra
m=Simra.Hammerfest.00     f=$(OPDATA2)/um1km/simme00.dat
m=Simra.Hammerfest.12     f=$(OPDATA2)/um1km/simme12.dat
m=Simra.Narvik.00         f=$(OPDATA2)/um1km/simna00.dat
m=Simra.Narvik.12         f=$(OPDATA2)/um1km/simna12.dat
m=Simra.Sandnessjøen.00   f=$(OPDATA2)/um1km/simsa00.dat
m=Simra.Sandnessjøen.12   f=$(OPDATA2)/um1km/simsa12.dat
m=Simra.Værnes.00         f=$(OPDATA2)/um1km/simva00.dat
m=Simra.Værnes.12         f=$(OPDATA2)/um1km/simva12.dat
m=Simra.Honningsvåg.00    f=$(OPDATA2)/um1km/simho00.dat
m=Simra.Honningsvåg.12    f=$(OPDATA2)/um1km/simho12.dat
m=Simra.Sandane.00        f=$(OPDATA2)/um1km/simsd00.dat
m=Simra.Sandane.12        f=$(OPDATA2)/um1km/simsd12.dat
m=Simra.Ørsta.00          f=$(OPDATA2)/um1km/simor00.dat
m=Simra.Ørsta.12          f=$(OPDATA2)/um1km/simor12.dat
m=Simra.Hammerfest.00-1   f=$(OPDATA2)/um1km/simme00.dat-1
m=Simra.Hammerfest.12-1   f=$(OPDATA2)/um1km/simme12.dat-1
m=Simra.Hammerfest.00-2   f=$(OPDATA2)/um1km/simme00.dat-2
m=Simra.Hammerfest.12-2   f=$(OPDATA2)/um1km/simme12.dat-2
m=Simra.Sandnessjøen.00-1 f=$(OPDATA2)/um1km/simsa00.dat-1
m=Simra.Sandnessjøen.12-1 f=$(OPDATA2)/um1km/simsa12.dat-1
m=Simra.Sandnessjøen.00-2 f=$(OPDATA2)/um1km/simsa00.dat-2
m=Simra.Sandnessjøen.12-2 f=$(OPDATA2)/um1km/simsa12.dat-2
m=Simra.Værnes.00-1       f=$(OPDATA2)/um1km/simva00.dat-1
m=Simra.Værnes.12-1       f=$(OPDATA2)/um1km/simva12.dat-1
m=Simra.Værnes.00-2       f=$(OPDATA2)/um1km/simva00.dat-2
m=Simra.Værnes.12-2       f=$(OPDATA2)/um1km/simva12.dat-2
m=Simra.Honningsvåg.00-1  f=$(OPDATA2)/um1km/simho00.dat-1
m=Simra.Honningsvåg.12-1  f=$(OPDATA2)/um1km/simho12.dat-1
m=Simra.Honningsvåg.00-2  f=$(OPDATA2)/um1km/simho00.dat-2
m=Simra.Honningsvåg.12-2  f=$(OPDATA2)/um1km/simho12.dat-2
m=Simra.Sandane.00-1      f=$(OPDATA2)/um1km/simsd00.dat-1
m=Simra.Sandane.12-1      f=$(OPDATA2)/um1km/simsd12.dat-1
m=Simra.Sandane.00-2      f=$(OPDATA2)/um1km/simsd00.dat-2
m=Simra.Sandane.12-2      f=$(OPDATA2)/um1km/simsd12.dat-2
m=Simra.Ørsta.00-1        f=$(OPDATA2)/um1km/simor00.dat-1
m=Simra.Ørsta.12-1        f=$(OPDATA2)/um1km/simor12.dat-1
m=Simra.Ørsta.00-2        f=$(OPDATA2)/um1km/simor00.dat-2
m=Simra.Ørsta.12-2        f=$(OPDATA2)/um1km/simor12.dat-2

filegroup=ECMWF
m=EC.GEO.0.25.00  g=98:103:0.5grad_NH  g=98:106:0.25grad  f=$(OPDATA1)/ec/ec_atmo_geo_00_mad.felt
m=EC.GEO.0.25.12  g=98:103:0.5grad_NH  g=98:106:0.25grad  f=$(OPDATA1)/ec/ec_atmo_geo_12_mad.felt
m=EC.GEO.NY.00  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA1)/ec/ecatmo00.dat
m=EC.GEO.NY.12  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA1)/ec/ecatmo12.dat
m=EC.00        g=98:504  f=$(OPDATA1)/ec/flte00.dat
m=EC.12        g=98:504  f=$(OPDATA1)/ec/flte12.dat
m=EC300.00     g=98:533  f=$(OPDATA1)/ec/flte00.dat
m=EC300.12     g=98:533  f=$(OPDATA1)/ec/flte12.dat
m=EC.12-1      g=98:504  f=$(OPDATA1)/ec/flte12.dat-1
m=EC300.12-1   g=98:533  f=$(OPDATA1)/ec/flte12.dat-1
m=EC.12-2      g=98:504  f=$(OPDATA1)/ec/flte12.dat-2
m=EC300.12-2   g=98:533  f=$(OPDATA1)/ec/flte12.dat-2
m=EC.12-3      g=98:504  f=$(OPDATA1)/ec/flte12.dat-3
m=EC300.12-3   g=98:533  f=$(OPDATA1)/ec/flte12.dat-3
m=EC.12-4      g=98:504  f=$(OPDATA1)/ec/flte12.dat-4
m=EC300.12-4   g=98:533  f=$(OPDATA1)/ec/flte12.dat-4
m=EC.12-5      g=98:504  f=$(OPDATA1)/ec/flte12.dat-5
m=EC300.12-5   g=98:533  f=$(OPDATA1)/ec/flte12.dat-5
m=EC.GEO.NY.00-1  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo00.dat-1
m=EC.GEO.NY.00-2  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo00.dat-2
m=EC.GEO.NY.00-3  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo00.dat-3
m=EC.GEO.NY.00-4  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo00.dat-4
m=EC.GEO.NY.00-5  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo00.dat-5
m=EC.GEO.NY.12-1  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo12.dat-1
m=EC.GEO.NY.12-2  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo12.dat-2
m=EC.GEO.NY.12-3  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo12.dat-3
m=EC.GEO.NY.12-4  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo12.dat-4
m=EC.GEO.NY.12-5  g=98:103:0.5grad_NH  g=98:104:0.5grad  f=$(OPDATA2)/ec/ecatmo12.dat-5
m=EC.GEO.00      g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec00.dat
m=EC.GEO.00-1    g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec00.dat-1
m=EC.GEO.00-2    g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec00.dat-2
m=EC.GEO.12      g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec12.dat
m=EC.GEO.12-1    g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec12.dat-1
m=EC.GEO.12-2    g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec12.dat-2
m=EC.GEO.12-3    g=98:101:2.5_grad  g=98:102:1.5_grad  f=$(OPDATA1)/ec/grec12.dat-3
m=EC.06        g=98:504  f=$(OPDATA1)/ec/flte06.dat
m=EC300.06     g=98:533  f=$(OPDATA1)/ec/flte06.dat
m=EC.18        g=98:504  f=$(OPDATA1)/ec/flte18.dat
m=EC300.18     g=98:533  f=$(OPDATA1)/ec/flte18.dat

filegroup=UK
m=UK.GEO.00  g=74:255:Fin255  g=74:256:256  g=74:257:257  g=74:258:258  g=74:266:266  g=74:267:267  g=74:268:268  f=$(OPDATA1)/uk/gruk00.dat
m=UK.GEO.12  g=74:255:Fin255  g=74:256:256  g=74:257:257  g=74:258:258  g=74:266:266  g=74:267:267  g=74:268:268  f=$(OPDATA1)/uk/gruk12.dat
m=UK.00        g=74:504   f=$(OPDATA1)/uk/fltc00.dat
m=UK300.00     g=74:533   f=$(OPDATA1)/uk/fltc00.dat
m=UKFIN.00     g=74:604   f=$(OPDATA1)/uk/fltc00.dat
m=UK.12        g=74:504   f=$(OPDATA1)/uk/fltc12.dat
m=UK300.12     g=74:533   f=$(OPDATA1)/uk/fltc12.dat
m=UKFIN.12     g=74:604   f=$(OPDATA1)/uk/fltc12.dat
m=UK.00-1      g=74:504   f=$(OPDATA1)/uk/fltc00.dat-1
m=UK300.00-1   g=74:533   f=$(OPDATA1)/uk/fltc00.dat-1
m=UKFIN.00-1   g=74:604   f=$(OPDATA1)/uk/fltc00.dat-1
m=UK.12-1      g=74:504   f=$(OPDATA1)/uk/fltc12.dat-1
m=UK300.12-1   g=74:533   f=$(OPDATA1)/uk/fltc12.dat-1
m=UKFIN.12-1   g=74:604   f=$(OPDATA1)/uk/fltc12.dat-1
m=UK.00-2      g=74:504   f=$(OPDATA1)/uk/fltc00.dat-2
m=UK300.00-2   g=74:533   f=$(OPDATA1)/uk/fltc00.dat-2
m=UKFIN.00-2   g=74:604   f=$(OPDATA1)/uk/fltc00.dat-2
m=UK.12-2      g=74:504   f=$(OPDATA1)/uk/fltc12.dat-2
m=UK300.12-2   g=74:533   f=$(OPDATA1)/uk/fltc12.dat-2
m=UKFIN.12-2   g=74:604   f=$(OPDATA1)/uk/fltc12.dat-2
m=UK.00-3      g=74:504   f=$(OPDATA1)/uk/fltc00.dat-3
m=UK300.00-3   g=74:533   f=$(OPDATA1)/uk/fltc00.dat-3
m=UKFIN.00-3   g=74:604   f=$(OPDATA1)/uk/fltc00.dat-3
m=UK.12-3      g=74:504   f=$(OPDATA1)/uk/fltc12.dat-3
m=UK300.12-3   g=74:533   f=$(OPDATA1)/uk/fltc12.dat-3
m=UKFIN.12-3   g=74:604   f=$(OPDATA1)/uk/fltc12.dat-3
m=UK.00-4      g=74:504   f=$(OPDATA1)/uk/fltc00.dat-4
m=UK300.00-4   g=74:533   f=$(OPDATA1)/uk/fltc00.dat-4
m=UKFIN.00-4   g=74:604   f=$(OPDATA1)/uk/fltc00.dat-4
m=UK.12-4      g=74:504   f=$(OPDATA1)/uk/fltc12.dat-4
m=UK300.12-4   g=74:533   f=$(OPDATA1)/uk/fltc12.dat-4
m=UKFIN.12-4   g=74:604   f=$(OPDATA1)/uk/fltc12.dat-4
m=UK.00-5      g=74:504   f=$(OPDATA1)/uk/fltc00.dat-5
m=UK300.00-5   g=74:533   f=$(OPDATA1)/uk/fltc00.dat-5
m=UKFIN.00-5   g=74:604   f=$(OPDATA1)/uk/fltc00.dat-5
m=UK.12-5      g=74:504   f=$(OPDATA1)/uk/fltc12.dat-5
m=UK300.12-5   g=74:533   f=$(OPDATA1)/uk/fltc12.dat-5
m=UKFIN.12-5   g=74:604   f=$(OPDATA1)/uk/fltc12.dat-5

filegroup=OBS.FIELDS
m=OBSFIELD.00    g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs00.dat
m=OBSFIELD.06    g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs06.dat
m=OBSFIELD.12    g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs12.dat
m=OBSFIELD.18    g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs18.dat
m=OBSFIELD.00-1  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs00.dat-1
m=OBSFIELD.06-1  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs06.dat-1
m=OBSFIELD.12-1  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs12.dat-1
m=OBSFIELD.18-1  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs18.dat-1
m=OBSFIELD.00-2  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs00.dat-2
m=OBSFIELD.06-2  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs06.dat-2
m=OBSFIELD.12-2  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs12.dat-2
m=OBSFIELD.18-2  g=88:1905:50km  g=88:1725:25km  g=88:1995:10km  f=$(OPDATA1)/obs_dec/feltobs18.dat-2

filegroup=EC.EPS
m=EC.EPS_0.5.00     g=98:111:navn_1 g=98:115:navn_2 g=98:117:navn_3 g=98:118:navn_4 \
                    f=$(OPDATA2)/ec/ec_eps-dp_geo_00_mey.felt \	    
		    f=$(OPDATA2)/ec/ec_eps_geo_00_mee.felt \
m=EC.EPS_0.5.12         g=98:111:navn_1 g=98:115:navn_2 g=98:117:navn_3 g=98:118:navn_4 \
		    f=$(OPDATA2)/ec/ec_eps-dp_geo_12_mey.felt \
		    f=$(OPDATA2)/ec/ec_eps_geo_12_mee.felt
m=EC.EPS.NY.00      f=$(OPDATA1)/ec/eceps00.dat
m=EC.EPS.NY.12      f=$(OPDATA1)/ec/eceps12.dat
m=EC.EPS            f=$(OPDATA1)/ec/greps12.dat
m=EC.EPS.00         f=$(OPDATA1)/ec/greps00.dat
m=EC.EPS_0.5.00-1   g=98:111:navn_1 g=98:115:navn_2 g=98:117:navn_3 g=98:118:navn_4 \
                    f=$(OPDATA2)/ec/ec_eps-dp_geo_00_mey.felt-1 \
		    f=$(OPDATA2)/ec/ec_eps_geo_00_mee.felt-1
m=EC.EPS_0.5.12-1   g=98:111:navn_1 g=98:115:navn_2 g=98:117:navn_3 g=98:118:navn_4 \
		    f=$(OPDATA2)/ec/ec_eps-dp_geo_12_mey.felt-1 \
		    f=$(OPDATA2)/ec/ec_eps_geo_12_mee.felt-1
m=EC.EPS-1          f=$(OPDATA1)/ec/greps12.dat-1
m=EC.EPS.00-1       f=$(OPDATA1)/ec/greps00.dat-1

filegroup="NORLAMEPS"
m=LAMEPS.18       f=$(OPDATA2)/lameps/lameps18.dat \
		  f=$(OPDATA2)/lameps/lameps_pred.dat 
m=LAMEPS.18-1     f=$(OPDATA2)/lameps/lameps18.dat-1
		  f=$(OPDATA2)/lameps/lameps_pred.dat-1 
m=LAMEPS.18-2     f=$(OPDATA2)/lameps/lameps18.dat-2
		  f=$(OPDATA2)/lameps/lameps_pred.dat-2 
m=TEPS.12         f=$(OPDATA2)/lameps/teps12.dat \
		  f=$(OPDATA2)/lameps/teps_pred.dat 
m=TEPS.12-1       f=$(OPDATA2)/lameps/teps12.dat-1
		  f=$(OPDATA2)/lameps/teps_pred.dat-1 
m=TEPS.12-2       f=$(OPDATA2)/lameps/teps12.dat-2
		  f=$(OPDATA2)/lameps/teps_pred.dat-2 
m=NORLAMEPS.18    f=$(OPDATA2)/lameps/norlameps_pred.dat 
m=NORLAMEPS.18-1  f=$(OPDATA2)/lameps/norlameps_pred.dat-1 
m=NORLAMEPS.18-2  f=$(OPDATA2)/lameps/norlameps_pred.dat-2 
m=lameps_prob     f=$(OPDATA2)/lameps/lameps_prob.dat
m=norlameps_prob  f=$(OPDATA2)/lameps/norlameps_prob.dat 

#filegroup=PEPS
#m=PEPS.00        f=$(OPDATA2)/lameps/peps00.dat
#m=PEPS.12        f=$(OPDATA2)/lameps/peps12.dat
#m=PEPS.00-1      f=$(OPDATA2)/lameps/peps00.dat-1
#m=PEPS.12-1      f=$(OPDATA2)/lameps/peps12.dat-1
#m=PEPS.00-2      f=$(OPDATA2)/lameps/peps00.dat-2
#m=PEPS.12-2      f=$(OPDATA2)/lameps/peps12.dat-2

filegroup=EC.SESONG
m=EC_sesong  f=$(OPDATA1)/sesong/ecfcst.felt

filegroup=EC.MÅNED
m=EC_MÅNED.00 f=$(OPDATA2)/ec/ec_mfs_geo_00_nmf.felt 

filegroup=WAVE/WAM
m=WAM.POL.00        g=88:1714:Stor  g=88:1501:Liten  f=$(OPDATA1)/wave/fwave00.dat
m=WAM.POL.06        g=88:1714:Stor  g=88:1501:Liten  f=$(OPDATA1)/wave/fwave06.dat
m=WAM.POL.12        g=88:1714:Stor  g=88:1501:Liten  f=$(OPDATA1)/wave/fwave12.dat
m=WAM.POL.18        g=88:1714:Stor  g=88:1501:Liten  f=$(OPDATA1)/wave/fwave18.dat
m=WAM.00            f=$(OPDATA1)/wave/gwave00.dat
m=WAM.06            f=$(OPDATA1)/wave/gwave06.dat
m=WAM.12            f=$(OPDATA1)/wave/gwave12.dat
m=WAM.18            f=$(OPDATA1)/wave/gwave18.dat
m=WAM.10km.00       f=$(OPDATA1)/wave/g10kmwave00.dat
m=WAM.10km.12       f=$(OPDATA1)/wave/g10kmwave12.dat
m=ECMWF.WAM.12      f=$(OPDATA1)/ec/grecw12.dat
m=ECMWF.WAM.NY.00   f=$(OPDATA1)/ec/ec_wave_geo_00_i.felt
m=ECMWF.WAM.NY.12   f=$(OPDATA1)/ec/ec_wave_geo_12_i.felt
m=ECMWF.WAM.EPS.00  f=$(OPDATA1)/ec/ec_wef_geo_00_i.felt
m=ECMWF.WAM.EPS.12  f=$(OPDATA1)/ec/ec_wef_geo_12_i.felt
m=SWAN.500m.00      f=$(OPDATA2)/wave/g500mwave00.dat
m=SWAN.500m.12      f=$(OPDATA2)/wave/g500mwave12.dat
m=WAM.00-1          f=$(OPDATA1)/wave/gwave00.dat-1
m=WAM.12-1          f=$(OPDATA1)/wave/gwave12.dat-1
m=ECMWF.WAM.12-1    f=$(OPDATA1)/ec/grecw12.dat-1

filegroup=SEA/ECOM3D
m=ECOM3D.00         f=$(OPDATA1)/sea/fsea00.dat
m=ECOM3D.12         f=$(OPDATA1)/sea/fsea12.dat
m=ECOM3D.20KM.00    f=$(OPDATA1)/sea/f3sea00.dat
m=ECOM3D.20KM.12    f=$(OPDATA1)/sea/f3sea12.dat
m=ARCTIC.20km.00    f=$(OPDATA1)/sea/f20Arctic00.dat
m=NORDIC.4KM.00     f=$(OPDATA1)/sea/f4Nordic00.dat
m=NORDIC.4KM.A.00   f=$(OPDATA1)/sea/f4Nordic_sectionA00.dat
m=NORDIC.4KM.BD.00  f=$(OPDATA1)/sea/f4Nordic_sectionBD00.dat
m=NORDIC.4KM.C.00   f=$(OPDATA1)/sea/f4Nordic_sectionC00.dat
m=NORDIC.4KM.E.00   f=$(OPDATA1)/sea/f4Nordic_sectionE00.dat
m=Barents.4km.00    f=$(OPDATA1)/sea/f4Barents00.dat
m=Oslofjord.300M.00 f=$(OPDATA1)/sea/f0.3Oslofjord00.dat
m=SKAGERRAK_1.5KM   f=$(OPDATA1)/sea/f1.5NSeaSkag00.dat
m=VESTLAND_200M     f=$(OPDATA1)/sea/f0.2Vestland00.dat
m=OFOTFJORD.500M.00 f=$(OPDATA1)/sea/f0.5Ofotfjord00.dat
m=ECOM3D.00-1       f=$(OPDATA1)/sea/fsea00.dat-1
m=ECOM3D.12-1       f=$(OPDATA1)/sea/fsea12.dat-1
m=ECOM3D.20KM.ARKIV f=$(OPDATA1)/sea/arksea3.dat  f=$(OPDATA1)/sea/f3sea00.dat  f=$(OPDATA1)/sea/f3sea12.dat
m=BIO.20KM.FOAM      f=$(OPDATA2)/sea/f20NorthSea06.dat
m=BIO.4KM.FOAM+SMHI  f=$(OPDATA2)/sea/f4NorthSea06.dat
m=ark.SMHI.phys      f=$(OPDATA1)/sea/arkSMHI_phys.dat
m=ark.SMHI.bio       f=$(OPDATA1)/sea/arkSMHI_bio.dat
m=mipom.CONMAN4km.snap       f=$(OPDATA1)/sea/f4_mipom_CONMAN-1.dat
m=roms.CONMAN4km.snap        f=$(OPDATA1)/sea/f4_roms_CONMAN-1.dat
m=mipom.CONMAN4km.mean       f=$(OPDATA1)/sea/f4_mipom_CONMAN-2.dat
m=roms.CONMAN4km.mean        f=$(OPDATA1)/sea/f4_roms_CONMAN-2.dat
m=mipom.CONMAN4km.sectionI   f=$(OPDATA1)/sea/f4_mipom_CONMAN-3.dat
m=mipom.CONMAN4km.sectionII  f=$(OPDATA1)/sea/f4_mipom_CONMAN-4.dat
m=mipom.CONMAN4km.snap.geo   f=$(OPDATA1)/sea/f4_mipom_CONMAN-1_geo.dat
m=mipom.CONMAN4km.mean.geo   f=$(OPDATA1)/sea/f4_mipom_CONMAN-2_geo.dat
m=roms.CONMAN4km.snap.geo    f=$(OPDATA1)/sea/f4_roms_CONMAN-1_geo.dat
m=roms.CONMAN4km.mean.geo    f=$(OPDATA1)/sea/f4_roms_CONMAN-2_geo.dat
m=hycom.CONMAN4km.snap.geo   f=$(OPDATA1)/sea/f4_hycom_CONMAN-1_geo.dat
m=hycom.CONMAN4km.mean.geo   f=$(OPDATA1)/sea/f4_hycom_CONMAN-2_geo.dat
m=CLIMAT             f=$(OPDATA1)/sea/monthcli.dat
m=CLIMAT2            f=$(OPDATA1)/sea/monthcli2.dat

filegroup=PARAM
m=HIRLAM.2001.20km         f=$(OPDATA1)/digit/last/par2001.dat
m=HIRLAM.1997.10km         f=$(OPDATA1)/digit/last/par1997.dat
m=HIRLAM.1998.10km         f=$(OPDATA1)/digit/last/par1998.dat
m=HIRLAM.2335.5km          f=$(OPDATA1)/digit/last/par2335.dat
m=HIRLAM.2006.50km         f=$(OPDATA1)/digit/last/par2006.dat
m=LITEN.HIRLAM.2010.10km   f=$(OPDATA1)/digit/last/par2010.dat
m=EMEP.1841                f=$(OPDATA1)/digit/last/par1841.dat
m=GAMMEL.EMEP.1840         f=$(OPDATA1)/digit/last/par1840.dat
m=NORLAM.1814              f=$(OPDATA1)/digit/last/par1814.dat
m=WAM.ICE.960              f=$(OPDATA1)/digit/last/ice960.dat
m=SEA.SST.907              f=$(OPDATA1)/digit/last/sst907.dat
m=SEA.SST.903              f=$(OPDATA1)/digit/last/sst903.dat

filegroup=OSISAF
m=OSISAF  f=$(OPDATA1)/fjernmaling_analyser/sea_ice/seaice_*.flt

filegroup=UV-indeks
m=UV_delvis_skyet f=$(OPDATA1)/uv/mitiff/uv-pc.dat
m=UV_delvis_skyet+24 f=$(OPDATA1)/uv/mitiff/uv-pc.dat+1
m=UV_delvis_skyet+48 f=$(OPDATA1)/uv/mitiff/uv-pc.dat+2
m=UV_overskyet f=$(OPDATA1)/uv/mitiff/uv-cc.dat
m=UV_overskyet+24 f=$(OPDATA1)/uv/mitiff/uv-cc.dat+1
m=UV_overskyet+48 f=$(OPDATA1)/uv/mitiff/uv-cc.dat+2
m=UV_klart f=$(OPDATA1)/uv/mitiff/uv-cl.dat
m=UV_klart+24 f=$(OPDATA1)/uv/mitiff/uv-cl.dat+1
m=UV_klart+48 f=$(OPDATA1)/uv/mitiff/uv-cl.dat+2
m=UV_varslet f=$(OPDATA1)/uv/mitiff/uv-fc.dat
m=UV_varslet+24 f=$(OPDATA1)/uv/mitiff/uv-fc.dat+1
m=UV_varslet+48 f=$(OPDATA1)/uv/mitiff/uv-fc.dat+2

filegroup=SNAP
m=SNAP.NRPA         f=$(OPDATA1)/snap/snap.felt

</FIELD_FILES>


<OBSERVATION_FILES>

#PROD=synop:Surs
#bufr=$(OPDATA1)/obs_dec/rdb/surs/surs[yyyymmddHH]*.rdb
#timerange=-30,30

#PROD=synop:Surf
#bufr=$(OPDATA1)/obs_dec/rdb/syno/surf[yyyymmddHH]*.rdb
#timerange=-30,30

#PROD=metar:Metar-bufr
#bufr=$(OPDATA1)/obs_dec/rdb/meta/metayyyymmddXX.rdb
#timerange=-15,15

#PROD=dribu:Dribu-bufr
#bufr=$(OPDATA1)/obs_dec/rdb/drau/drauyyyymmddHH.rdb
#timerange=-90,90

#PROD=temp:Temp-bufr
#bufr=$(OPDATA1)/obs_dec/rdb/temp/tempyyyymmddHH.rdb
#timerange=-180,180

#PROD=temp:Pilot-bufr
#bufr=$(OPDATA1)/obs_dec/rdb/pilo/piloyyyymmddHH.rdb
#timerange=-180,180

### PROD=obsFormat:obsName
PROD=synop:Synop
metnoobs=$(OPDATA1)/obs_dec/synoHH.dat
metnoobs=$(OPDATA1)/obs_dec/synoHH.dat-1
metnoobs=$(OPDATA1)/obs_dec/synoHH.dat-2
timerange=-30,30

PROD=dribu:Dribu
metnoobs=$(OPDATA1)/obs_dec/drauHH.dat
metnoobs=$(OPDATA1)/obs_dec/drauHH.dat-1
metnoobs=$(OPDATA1)/obs_dec/drauHH.dat-2
timerange=-90,90

PROD=temp:Temp
metnoobs=$(OPDATA1)/obs_dec/tempHH.dat
metnoobs=$(OPDATA1)/obs_dec/tempHH.dat-1
metnoobs=$(OPDATA1)/obs_dec/tempHH.dat-2
timerange=-180,180

PROD=pilot:Pilot
metnoobs=$(OPDATA1)/obs_dec/piloHH.dat
metnoobs=$(OPDATA1)/obs_dec/piloHH.dat-1
metnoobs=$(OPDATA1)/obs_dec/piloHH.dat-2
timerange=-180,180

PROD=aireps:Aireps
metnoobs=$(OPDATA2)/obs_dec/arepHH.dat
metnoobs=$(OPDATA2)/obs_dec/arepHH.dat-1
metnoobs=$(OPDATA2)/obs_dec/arepHH.dat-2
timerange=-180,180

PROD=tide:Tide
metnoobs=$(OPDATA2)/obs_dec/tideHH.dat
metnoobs=$(OPDATA2)/obs_dec/tideHH.dat-1
metnoobs=$(OPDATA2)/obs_dec/tideHH.dat-2
timerange=-180,180

PROD=ocea:Ocean
metnoobs=$(OPDATA2)/obs_dec/oceaHH.dat
metnoobs=$(OPDATA2)/obs_dec/oceaHH.dat-1
metnoobs=$(OPDATA2)/obs_dec/oceaHH.dat-2
timerange=-180,180

PROD=aireps:HWIND_OSL
metnoobs=$(OPDATA2)/nordrad/mitiff/HWIND_OSL_yyyymmddHHMM.obs
timerange=-7,+8

PROD=aireps:HWIND_HGB
metnoobs=$(OPDATA2)/nordrad/mitiff/HWIND_HGB_yyyymmddHHMM.obs
timerange=-7,+8

PROD=aireps:HWIND_BML
metnoobs=$(OPDATA2)/nordrad/mitiff/HWIND_BML_yyyymmddHHMM.obs
timerange=-7,+8

PROD=aireps:HWIND_RSA
metnoobs=$(OPDATA2)/nordrad/mitiff/HWIND_RSA_yyyymmddHHMM.obs
timerange=-7,+8

PROD=aireps:HWIND_RST
metnoobs=$(OPDATA2)/nordrad/mitiff/HWIND_RST_yyyymmddHHMM.obs
timerange=-7,+8

PROD=aireps:MET_AMV
metnoobs=$(OPDATA2)/meteosat/bufr_obs/msg_amv_yyyymmddHHMM.dat
timerange=-180,180

PROD=satob:QScat25km
metnoobs=$(OPDATA3)/noaasat/qscat/Obs_25km/qscat25km_yyyymmddHH.dat
timerange=-30,30

PROD=satob:QScat100km
metnoobs=$(OPDATA3)/noaasat/qscat/Obs_100km/qscat100km_yyyymmddHH.dat
timerange=-30,30

PROD=satob:ERS
metnoobs=$(OPDATA3)/noaasat/ers/Obs/ers_yyyymmddHH.dat
timerange=-30,30

PROD=metar:Metar
metnoobs=$(OPDATA1)/obs_dec/metaXX.dat
metnoobs=$(OPDATA1)/obs_dec/metaXX.dat-1
metnoobs=$(OPDATA1)/obs_dec/metaXX.dat-2
timerange=-15,15

PROD=ascii:Lyn
ascii=$(OPDATA2)/lyndata/UALF/yyyy/mm/lyndatayyyymmddHH 
headerfile=$(DIANADIR)/etc/UALF_diana.header
timerange=0,60

PROD=ascii:Nedbørsdata
file=$(OPDATA2)/mobobs/obs/nedbordata.yyyymmddHHMM
timerange=-60,60

PROD=ascii:Skogbrann
ascii=$(OPDATA2)/varsler/wbkz.yyyymmddHH
timerange=-360,1080    

PROD=ascii:Radiofyr
ascii=$(DIANADIR)/etc/radiofyr.txt

PROD=ascii:ENVISAT-RA2
ascii=$(OPDATA2)/ra2/fanta/RA2_WWV_2PNPD?yyyymmdd_HHMM*.BUFR.fanta
timerange=-1,180    ### fram til neste fil....

PROD=ascii:Regnsjekken
file=$(OPDATA2)/products/ekstrem/regnsjekk.yyyymmddHH
timerange=-30,30

# Observation ARCHIVES..............................

PROD=synop:Synop
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/syno[HH].[yyyymmdd]
timerange=-30,30

PROD=dribu:Dribu
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/drau[HH].[yyyymmdd]
timerange=-90,90

PROD=temp:Temp
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/temp[HH].[yyyymmdd]
timerange=-180,180

PROD=pilot:Pilot
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/pilo[HH].[yyyymmdd]
timerange=-180,180

PROD=aireps:Aireps
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/arep[HH].[yyyymmdd]
timerange=-180,180

PROD=metar:Metar
archive_metnoobs=/$(STARC)/DNMI_OBS/[yyyy]/[mm]/[dd]/meta[XX].[yyyymmdd]  # XX=hour*2+min/30
timerange=-15,15

PROD=satob:QScat25km
archive_metnoobs=/$(STARC)/DNMI_NOAASAT/[yyyy]/[mm]/[dd]/qscat/Obs_25km/qscat25km_[yyyymmddHH].dat
timerange=-30,30
#---------------------------------------------------------------------

</OBSERVATION_FILES>


<OBSERVATION_PRIORITY_LISTS>

name=test-list	       file=$(DIANADIR)/etc/priList.txt
name=VNN-synop-list    file=$(DIANADIR)/etc/VNNsynop.list
name=VNN-synop-list-2  file=$(DIANADIR)/etc/VNNsynop.list2
name=VA-synop-list     file=$(DIANADIR)/etc/VAsynop.list
name=VV-synop-list     file=$(DIANADIR)/etc/VVsynop.list
name=VV/MV-synop-list  file=$(DIANADIR)/etc/VVMVsynop.list

</OBSERVATION_PRIORITY_LISTS>


<OBSERVATION_CRITERIA>

plottype=Synop
name=Wind
ff>15 plot
ff>20  red

name=Temperature
TTT<0  blue
TTT>0 red

plottype=List
name=RRR
RRR>0 plot
RRR>5 red

</OBSERVATION_CRITERIA>


<IMAGE>

image=NOAA
  channels= day_night 2+4 4+2 1+2+4 2+3+4 3+4+5 5+4+3 2+6+4 6+4+5 5+4+6 1 2 3 4 5 6
  sub.type= N-Europa
      file= $(OPDATA1)/meos/mchannel/noaa[yyyymmddHHMM]mne.mitiff
sub.type= M-Norge
      file= $(OPDATA1)/meos/mchannel/noaa[yyyymmddHHMM]mnm.mitiff
  sub.type= S-Norge-(SAF_SE)
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]mns.mitiff
  sub.type= N-Norge-(SAF_NE)
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]mnr.mitiff
  sub.type= Grønland-(SAF_NW)   
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]mgr.mitiff
  sub.type= Atlant-(SAF_SW)
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]mat.mitiff
  sub.type= Ishavet
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]msv.mitiff
  sub.type= Svalbard
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]msf.mitiff
  sub.type= N-Atlant
      file= $(OPDATA3)/meos/mchannel/noaa[yyyymmddHHMM]mis.mitiff
  channels= CLW
  sub.type= TCLW-(CTG) 
      file= $(OPDATA2)/atovs/tif/amsua_noaa??_[yyyymmdd]_[HHMM]_*.l1c.ascii.tif
      file= $(OPDATA2)/atovs/tif/amsua_[yyyymmdd]_[HHMM]_noaa??_*.l1c.ascii.tif
  channels= CLW
  sub.type= TCLW-(SMTH)
      file= $(OPDATA2)/atovs/tif/amsua_noaa??_[yyyymmdd]_[HHMM]_*.l1c.asciis.tif 
      file= $(OPDATA2)/atovs/tif/amsua_[yyyymmdd]_[HHMM]_noaa??_*.l1c.asciis.tif

image=METEOSAT
  channels=1+2+3 3+2+1 1+2+9 3+9+10 4+9+10 10+9+3 10+9+4 3+12+12 12+12+9 1 2 3 4 5 6 7 8 9 10 11 12
  sub.type=VISIR_Europa_Meteosat
      file=$(OPDATA1)/meteosat/mchannel/MSG?_Europa_[yyyymmddHHMM]??_VISIR.tif
  channels=1
  sub.type=HRV_Europa_Meteosat
      file=$(OPDATA1)/meteosat/mchannel/MSG?_Europa_[yyyymmddHHMM]??_HRV.tif
  channels=1+2+3 1+2+9 3+9+10 4+9+10 10+9+3 10+9+4 1 2 3 4 5 6 7 8 9 10 11
  sub.type=VISIR_VestAtlant_Meteosat
      file=$(OPDATA2)/meteosat/mchannel/MSG?_VestAtlant_[yyyymmddHHMM]??_VISIR.tif
  channels=1
  sub.type=HRV_VestAtlant_Meteosat
      file=$(OPDATA2)/meteosat/mchannel/MSG?_VestAtlant_[yyyymmddHHMM]??_HRV.tif

image=Radar-obs
  channels= PSC_Z
  sub.type = Norden_2km_dBZ
      file = $(OPDATA3)/nordrad/mitiff/RRPSC_Z_DNORDIC_2000_[yyyymmddHHMM].mitiff
  sub.type = Sørskandinavia_1km_dBZ
      file = $(OPDATA2)/nordrad/mitiff/RRPSC_Z_DSORSKAND_1000_[yyyymmddHHMM].mitiff
  sub.type = Nordland_Troms_1km_dBZ 
      file = $(OPDATA3)/nordrad/mitiff/RRPSC_Z_IWEBNORDLTROMS_1000_[yyyymmddHHMM].mitiff 
  channels= PPI_V
  sub.type = Bømlo_500m_VRAD
      file= $(OPDATA2)/nordrad/mitiff/RRPPI_V_BøMLO_500_[yyyymmddHHMM].mitiff
  sub.type = Røst_500m_VRAD
      file= $(OPDATA2)/nordrad/mitiff/RRPPI_V_RøST_500_[yyyymmddHHMM].mitiff
  sub.type = Rissa_500m_VRAD
      file= $(OPDATA2)/nordrad/mitiff/RRPPI_V_RISSA_500_[yyyymmddHHMM].mitiff
  sub.type = Oslo_500m_VRAD
      file= $(OPDATA2)/nordrad/mitiff/RRPPI_V_OSLO_500_[yyyymmddHHMM].mitiff
  sub.type = Hægebostad_500m_VRAD
      file= $(OPDATA2)/nordrad/mitiff/RRPPI_V_HæGEBOSTAD_500_[yyyymmddHHMM].mitiff

image=Radar-nedbør
   channels= PSC_RI
   sub.type= Nedbørintensitet_mm/h
       file= $(OPDATA2)/radar/composite/PSC_RI-N2-ALL_PS0E60N1_[yyyymmdd]T[HHMM].mitiff
   channels= PSC_RS
   sub.type= Norge_regn-snø_mm/h
       file= $(OPDATA2)/radar/composite/PSC_RS-N2-ALL_PS0E60N1_[yyyymmdd]T[HHMM].mitiff
   channels= PSC_RA1h
   sub.type= Oslo_nedbør_1h
       file= $(OPDATA2)/radar/hagahogget/PSC_RA1h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Hegebostad_nedbør_1h
       file= $(OPDATA2)/radar/hegebostad/PSC_RA1h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Bømlo_nedbør_1h
       file= $(OPDATA2)/radar/bomlo/PSC_RA1h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Rissa_nedbør_1h
       file= $(OPDATA2)/radar/rissa/PSC_RA1h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Røst_nedbør_1h
       file= $(OPDATA2)/radar/roest/PSC_RA1h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif
   channels= PSC_RA6h
   sub.type= Oslo_nedbør_6h
       file= $(OPDATA2)/radar/hagahogget/PSC_RA6h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Hegebostad_nedbør_6h
       file= $(OPDATA2)/radar/hegebostad/PSC_RA6h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Bømlo_nedbør_6h
       file= $(OPDATA2)/radar/bomlo/PSC_RA6h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Rissa_nedbør_6h
       file= $(OPDATA2)/radar/rissa/PSC_RA6h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Røst_nedbør_6h
       file= $(OPDATA2)/radar/roest/PSC_RA6h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif
   channels= PSC_RS
   sub.type= Oslo_regn-snø_6h
       file= $(OPDATA2)/radar/hagahogget/PSC_RS6h-N2-OSL_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
   sub.type= Hegebostad_regn-snø_6h
       file= $(OPDATA2)/radar/hegebostad/PSC_RS6h-N2-HGB_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
   sub.type= Bømlo_regn-snø_6h
       file= $(OPDATA2)/radar/bomlo/PSC_RS6h-N2-BML_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
   sub.type= Rissa_regn-snø_6h
       file= $(OPDATA2)/radar/rissa/PSC_RS6h-N2-RSA_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
   sub.type= Røst_regn-snø_6h
       file= $(OPDATA2)/radar/roest/PSC_RS6h-N2-RST_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
   channels= PSC_RA12h
   sub.type= Oslo_nedbør_12h
       file= $(OPDATA2)/radar/hagahogget/PSC_RA12h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Hegebostad_nedbør_12h
       file= $(OPDATA2)/radar/hegebostad/PSC_RA12h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Bømlo_nedbør_12h
       file= $(OPDATA2)/radar/bomlo/PSC_RA12h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Rissa_nedbør_12h
       file= $(OPDATA2)/radar/rissa/PSC_RA12h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Røst_nedbør_12h
       file= $(OPDATA2)/radar/roest/PSC_RA12h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif
   channels= PSC_RA24h
   sub.type= Oslo_nedbør_24h
       file= $(OPDATA2)/radar/hagahogget/PSC_RA24h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Hegebostad_nedbør_24h
       file= $(OPDATA2)/radar/hegebostad/PSC_RA24h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Bømlo_nedbør_24h
       file= $(OPDATA2)/radar/bomlo/PSC_RA24h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Rissa_nedbør_24h
       file= $(OPDATA2)/radar/rissa/PSC_RA24h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Røst_nedbør_24h
       file= $(OPDATA2)/radar/roest/PSC_RA24h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif

image=OSI_SAF
  channels= IE
  sub.type= iskant-10km
      file= $(OPDATA2)/osisaf/output/ice/multi/edge/ice_edge_mi_[yyyymmddHHMM].mitiff
  channels= IT
  sub.type= istype-10km
      file= $(OPDATA2)/osisaf/output/ice/multi/type/ice_type_mi_[yyyymmddHHMM].mitiff
  channels= IC
  sub.type= iskonsentrasjon-10km
      file= $(OPDATA2)/osisaf/output/ice/multi/conc/ice_conc_mi_[yyyymmddHHMM].mitiff
  channels= IC
  sub.type= fleråris_iskonsentrasjon-10km
      file= $(OPDATA2)/osisaf/output/ice/multi/conc/ice_myconc_mi_[yyyymmddHHMM].mitiff

  channels= SST
  sub.type= SST-10km-12hr-mean
      file= $(OPDATA2)/osisaf/output/sst/SST_12HL/SST12HL_[yyyymmddHHMM].mitiff
  sub.type= SST-10km-168hr-mean
      file= $(OPDATA2)/osisaf/output/sst/SST_12HL/SST168HL_[yyyymmddHHMM].mitiff
  sub.type= SST-1.5km-nordsjøen
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnns_noaa??.mitiff
  sub.type= SST-1.5km-norskehavet
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnnr_noaa??.mitiff
  sub.type= SST-1.5km-atlanterhavet
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnat_noaa??.mitiff
  sub.type= SST-1.5km-grønland
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dngr_noaa??.mitiff
  sub.type= SST-1.5km-nordsjøen-kontrast
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnns_noaa??_con.mitiff
  sub.type= SST-1.5km-norskehavet-kontrast
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnnr_noaa??_con.mitiff
  sub.type= SST-1.5km-atlanterhavet-kontrast
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dnat_noaa??_con.mitiff
  sub.type= SST-1.5km-grønland-kontrast
      file=$(OPDATA2)/osisaf/output/sst/SST_HR/SSTHR_[yyyymmddHHMM]_dngr_noaa??_con.mitiff
  channels= C
  sub.type= Globalstråling-10km-døgnmiddel
      file=$(OPDATA2)/osisaf/output/flux/ssi/daily/SSI_[yyyymmddHHMM].mitiff
  sub.type= Globalstråling-10km-satellittpassasje
      file=$(OPDATA2)/osisaf/output/flux/ssi/safg/SSI_[yyyymmddHHMM].mitiff
  sub.type= Globalstråling-1.5km-Nordsjøen
      file=$(OPDATA2)/osisaf/output/flux/ssi/product/SSI_[yyyymmddHHMM]_ns.mitiff
  sub.type= Globalstråling-1.5km-Norskehavet
      file=$(OPDATA2)/osisaf/output/flux/ssi/product/SSI_[yyyymmddHHMM]_nr.mitiff
  sub.type= Globalstråling-1.5km-Atlanterhavet
      file=$(OPDATA2)/osisaf/output/flux/ssi/product/SSI_[yyyymmddHHMM]_at.mitiff
  sub.type= Globalstråling-1.5km-Grønland
      file=$(OPDATA2)/osisaf/output/flux/ssi/product/SSI_[yyyymmddHHMM]_gr.mitiff
  sub.type= Langbølget-innstråling-10km-døgnmiddel
      file=$(OPDATA2)/osisaf/output/flux/dli/daily/DLI_[yyyymmddHHMM].mitiff
  sub.type= Langbølget-innstråling-10km-satellittpassasje
      file=$(OPDATA2)/osisaf/output/flux/dli/safg/DLI_[yyyymmddHHMM].mitiff
  sub.type= Langbølget-innstråling-1.5km-Nordsjøen
      file=$(OPDATA2)/osisaf/output/flux/dli/product/DLI_[yyyymmddHHMM]_ns.mitiff
  sub.type= Langbølget-innstråling-1.5km-Norskehavet
      file=$(OPDATA2)/osisaf/output/flux/dli/product/DLI_[yyyymmddHHMM]_nr.mitiff
  sub.type= Langbølget-innstråling-1.5km-Atlanterhavet
      file=$(OPDATA2)/osisaf/output/flux/dli/product/DLI_[yyyymmddHHMM]_at.mitiff
  sub.type= Langbølget-innstråling-1.5km-Grønland
      file=$(OPDATA2)/osisaf/output/flux/dli/product/DLI_[yyyymmddHHMM]_gr.mitiff

image=QuickScat-25km
  channels= Wspd(m/s)
  sub.type= Vindstyrke
      file=$(OPDATA3)/noaasat/qscat/tif_25km/spd[yyyymmddHH].tiff
  channels= CURL
  sub.type= Virvling
      file=$(OPDATA3)/noaasat/qscat/tif_25km/curl[yyyymmddHH].tiff
  channels= DIV
  sub.type= Divergens
      file=$(OPDATA3)/noaasat/qscat/tif_25km/div[yyyymmddHH].tiff

image=ERS
  channels= Wspd(m/s)
  sub.type= Vindstyrke
      file=$(OPDATA3)/noaasat/ers/tif/spd[yyyymmddHH].tiff

image=SSM/I
  channels= WSPD
  sub.type= Vindstyrke
      file=$(OPDATA3)/ssmi_prod/tif/wspd??.tiff
  channels= TCLW
  sub.type= Skyvann
      file=$(OPDATA3)/ssmi_prod/tif/tclw??.tiff

image=SSM/I-regnflagg
  channels= RFLAG
  sub.type= Regnflagg
      file=$(OPDATA3)/ssmi_prod/tif/rflag??.tiff

image=NWCSAF_PPS
   channels= C
   sub.type= Skytype_Norskehavet
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudtype_??????_[yyyymmdd]_[HHMM]_?????_dnnr.mitiff
   sub.type= Skytype_Nordsjøen
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudtype_??????_[yyyymmdd]_[HHMM]_?????_dnns.mitiff
   sub.type= Skytype_Grønland
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudtype_??????_[yyyymmdd]_[HHMM]_?????_dngr.mitiff
   sub.type= Skytype_Atlant
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudtype_??????_[yyyymmdd]_[HHMM]_?????_dnat.mitiff
   sub.type= Skymaske_Norskehavet
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudmask_??????_[yyyymmdd]_[HHMM]_?????_dnnr.mitiff
   sub.type= Skymaske_Nordsjøen
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudmask_??????_[yyyymmdd]_[HHMM]_?????_dnns.mitiff
   sub.type= Skymaske_Grønland
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudmask_??????_[yyyymmdd]_[HHMM]_?????_dngr.mitiff
   sub.type= Skymaske_Atlant
       file= $(OPDATA2)/noaasat/acpg_mitiff/cloudmask_??????_[yyyymmdd]_[HHMM]_?????_dnat.mitiff 

image=UV-Indeks
   channels= C
   sub.type = UV_indeks_klarvær
       file= $(OPDATA2)/uv/mitiff/uvi-[yyyymmddHHMM]-uvicl.mitiff
   sub.type = UV_indeks_delvis_skyet
       file= $(OPDATA2)/uv/mitiff/uvi-[yyyymmddHHMM]-uvipc.mitiff
   sub.type = UV_indeks_overskyet
       file= $(OPDATA2)/uv/mitiff/uvi-[yyyymmddHHMM]-uvicc.mitiff
   sub.type = UV_indeks_varslet_skydekke
       file= $(OPDATA2)/uv/mitiff/uvi-[yyyymmddHHMM]-uvifc.mitiff

image=UK_fax_charts
   channels= FAX
  sub.type= FAX
      file= $(OPDATA2)/fax/mitiff/ppv_??????????????_yyyymmddHHMM*.mitiff

# Image ARCHIVES..............................

image=ARKIV
  #NOAA
  channels= day_night 2+4 1+2+4 2+3+4 3+4+5 5+4+3 1 2 3 4 5 6
  sub.type= NOAA::N-Europa
      archivefile= /$(STARC)/DNMI_MEOS/[yyyy]/[mm]/[dd]/noaa[yyyymmddHHMM]mne.mitiff
  #METEOSAT
  channels= VIS_RAW IR+V
  sub.type= METEOSAT::Visuell
      archivefile= /$(STARC)/DNMI_METEOSAT/[yyyy]/[mm]/[dd]/g*bv.tif
  channels= IR_CAL IR+V
  sub.type= METEOSAT::IR
      archivefile= /$(STARC)/DNMI_METEOSAT/[yyyy]/[mm]/[dd]/g*bi.tif
  channels= WV_CAL
  sub.type= METEOSAT::Vanndamp
      archivefile= /$(STARC)/DNMI_METEOSAT/[yyyy]/[mm]/[dd]/g*bw.tif

  #Radar-obs
  channels= PSC_Z
  sub.type = Radar-obs::Norden_2km_dBZ
      archivefile = /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/RRPSC_Z_DNORDIC_2000_[yyyymmddHHMM].mitiff
  sub.type = Radar-obs::Sørskandinavia_1km_dBZ
      archivefile = /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/RRPSC_Z_DSORSKAND_1000_[yyyymmddHHMM].mitiff

  #Radar-nedbør
  channels= PSC_RI
  sub.type= Radar-nedbør::Nedbørintensitet_mm/h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/PSC_RI-N2-ALL_PS0E60N1_[yyyymmdd]T[HHMM].mitiff
  channels= PSC_RS
  sub.type= Radar-nedbør::Norge_regn-snø_mm/h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/PSC_RS-N2-ALL_PS0E60N1_[yyyymmdd]T[HHMM].mitiff

   channels= PSC_RA1h
   sub.type= Radar-nedbør::Hegebostad_nedbør_1h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA1h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Oslo_nedbør_1h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA1h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Bømlo_nedbør_1h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA1h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Rissa_nedbør_1h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA1h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Røst_nedbør_1h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA1h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif

   channels= PSC_RA6h
   sub.type= Radar-nedbør::Hegebostad_nedbør_6h
      archivefile=/$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA6h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Oslo_nedbør_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA6h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Bømlo_nedbør_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA6h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Rissa_nedbør_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA6h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Røst_nedbør_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA6h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif

   channels= PSC_RA24h
   sub.type= Radar-nedbør::Hegebostad_nedbør_24h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA24h-N2-HGB_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Oslo_nedbør_24h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA24h-N2-OSL_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Bømlo_nedbør_24h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA24h-N2-BML_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Rissa_nedbør_24h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RA24h-N2-RSA_PS0E60N1_[yyyymmddHHMM]noneC.tif
   sub.type= Radar-nedbør::Røst_nedbør_24h
      archivefile= /$(STARC)/DNMI_RADAR/2007/[mm]/[dd]/acc/PSC_RA24h-N2-RST_PS0E60N1_[yyyymmddHHMM]noneC.tif

  channels= PSC_RS
  sub.type= Radar-nedbør::Hegebostad_regn-snø_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RS6h-N2-HGB_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
  channels= PSC_RS
  sub.type= Radar-nedbør::Oslo_regn-snø_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RS6h-N2-OSL_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
  channels= PSC_RS
  sub.type= Radar-nedbør::Bømlo_regn-snø_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RS6h-N2-BML_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
  channels= PSC_RS
  sub.type= Radar-nedbør::Rissa_regn-snø_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RS6h-N2-RSA_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif
  channels= PSC_RS
  sub.type= Radar-nedbør::Røst_regn-snø_6h
      archivefile= /$(STARC)/DNMI_RADAR/[yyyy]/[mm]/[dd]/acc/PSC_RS6h-N2-RST_PS0E60N1_[yyyymmddHHMM]rain-snowC.tif

</IMAGE>


<TEXT_INFORMATION_FILES>

#---------------------------------------------------------------------------
# Simple ascii-text (+ subset of xml and html) files with information
# Available in Diana in separate text-viewer
#
# name=XX file=YY [ type=auto|text|html|xml font=auto|fixed ]
#
# Keys: name and file are mandatory
# - type=auto means type is determined from filename extension
#   (unknown extension: type is "text/plain")
# - font=fixed means "courier"-type font
#---------------------------------------------------------------------------

name=EPS.INFO       file=$(OPDATA2)/ec/ecmwf_eps.info
name=HIRLAM.INFO.00 file=$(OPDATA2)/hirlam/status.00     font=fixed
name=HIRLAM.INFO.06 file=$(OPDATA2)/hirlam/status.06     font=fixed
name=HIRLAM.INFO.12 file=$(OPDATA2)/hirlam/status.12     font=fixed
name=HIRLAM.INFO.18 file=$(OPDATA2)/hirlam/status.18     font=fixed
name=Langtidsvarsel file=$(OPDATA2)/varsler/langtid.html
name=Korttidsvarsel file=$(OPDATA2)/varsler/korttid.html
name=Skredindex     file=$(OPDATA2)/varsler/skredidx.txt font=fixed
name=Lyn            file=$(OPDATA2)/lyndata/ftp-transfer-heartbeat font=fixed
</TEXT_INFORMATION_FILES>


<MAP_AREA>

#---------------------------------------------------------------------------
# proj=undefined       grid=0:0:0:0  <-- use area from field or satellite
# proj=undefined       grid=1:0:0:0  <-- leave area unchanged
#
# proj=pstereographic  grid=xp,yp,an,fi,projection-latitude
#                      area=x1,x2,y1,y2 (in gridunits)
#
# proj=pstereo_60      grid=xp,yp,an,fi
#                      area=x1,x2,y1,y2 (in gridunits, fixed proj.latitude=60N)
#
# proj=mercator        grid=west,south,x_inc(km),y_inc(km),ref_lat(deg)
#                      area=x1,x2,y1,y2 (in x_inc/y_inc units)
#
# proj=geographic      grid=west,south,lon_inc(deg),lat_inc(deg)
#                      area=x1,x2,y1,y2 (in lon_inc/lat_inc units)
#
# proj=spherical_rot   grid=west,south,lon_inc(deg),lat_inc(deg),lon_eq,lat_eq
#                      area=x1,x2,y1,y2 (in lon_inc/lat_inc units)
#
# name=Norge[F6]..... defines key F6 as shortcommand key for area Norge.
#   the same for keys F5, F7 and F8  (keys F5,F6,F7,F8 from large to smaller areas of interest)
#---------------------------------------------------------------------------

name=modell/sat-område   proj=undefined  grid=0:0:0:0

name=Europa   proj=pstereo_60  grid=115:148:237:0:0:0  area=51:181:45:134
name=Norge[F6]     proj=pstereo_60  grid=115:148:237:0:0:0  area=100:140:77:117
name=S-Norge[F7]   proj=pstereo_60  grid=115:148:237:0:0:0  area=112:134:77:97
name=Trøndelag     proj=pstereo_60  grid=115:148:237:0:0:0  area=118:135:89:99
name=N-Norge       proj=pstereo_60  grid=115:148:237:0:0:0  area=118:140:94:115
name=Norge.20W     proj=pstereo_60  grid=115:148:237:-20:0:0  area=130:160:85:125

name=VA-Norge[F8]  proj=pstereo_60  grid=115:148:237:0:0:0  area=114:128:80:94
name=VV-Norge      proj=pstereo_60  grid=115:148:237:0:0:0  area=104:126:80:94
name=VNN-Norge     proj=pstereo_60  grid=115:148:237:0:0:0  area=120:138:95:114

name=Atlant[F5]    proj=pstereo_60  grid=115:148:237:0:0:0  area=1:229:1:196

name=SIGkart       proj=pstereo_60  grid=115:148:237:0:0:0  area=95:154:54:138
name=SWIkart       proj=pstereo_60  grid=115:148:237:0:0:0  area=107:145:81:135

name=N.halvkule    proj=pstereo_60      grid=11851:11851:11850:0:60:0     area=1:23701:1:23701
name=S.halvkule    proj=pstereographic  grid=11851:11851:11850:180:-60:0  area=1:23701:1:23701

name=N.halvkule-90  proj=pstereo_60  grid=11851:11851:11850:-90:60:0  area=1:23701:1:23701
name=N.halvkule+90  proj=pstereo_60  grid=11851:11851:11850:90:60:0   area=1:23701:1:23701

name=Hirlam-grid  proj=spherical_rot  grid=-46.5:-36.5:0.5:0.5:0:65  area=1:188:1:152

name=Merkator  proj=mercator  grid=-50:30:50:50:60:0  area=1:121:1:111
name=Geografisk  proj=geographic  grid=-30:30:1:1  area=1:91:1:41
name=Globalt  proj=geographic  grid=-180:-90:1:1  area=1:361:1:181

name=Infosat.1  proj=pstereo_60  grid=115:148:237:0:0:0  area=95:148:52:127

name=ENHF    proj=pstereo_60  grid=115:148:237:0:0:0  area=130.89:131.71:110.74:111.32
name=ENST    proj=pstereo_60  grid=115:148:237:0:0:0  area=125.58:126.29:98.54:99.09

# Utsnitt for batch
name=Ishav     proj=pstereo_60  grid=115:148:237:0:0:0  area=92:157:90:138
name=N-Europa  proj=pstereo_60  grid=115:148:237:0:0:0  area=60:172:56:138
name=N.halvkule+65  proj=pstereo_60  grid=11851:11851:11850:65:60:0   area=10387:15012:4876:8185
name=Troms  proj=pstereo_60  grid=115:148:237:0:0:0  area=124:133:104:110
name=H10-stor  proj=pstereo_60  grid=115:148:237:0:0:0  area=95:163:80:130
name=H10-liten  proj=pstereo_60  grid=115:148:237:0:0:0  area=102:149:96:130

</MAP_AREA>


<MAP_TYPE>
 
#---------------------------------------------------------------------------
# NEW maps are defined with map=XXXX, options can span several lines
# type=normal or triangles, default is "normal"
#---------------------------------------------------------------------------

map=Gshhs-Auto type=triangles
limit=10  file=$(ROOT)/maps/gshhs_25.map
limit=2.5 file=$(ROOT)/maps/gshhs_5.map
limit=0.5 file=$(ROOT)/maps/gshhs_1.map
limit=0.1 file=$(ROOT)/maps/gshhs_0.2.map
limit=0	  file=$(ROOT)/maps/gshhs_0.1.map
contour=on cont.colour=black cont.linetype=solid cont.linewidth=1
land=on land.colour=flesh

map=Euro1    file=$(ROOT)/maps/land4.dat    # emep(kyst)
map=Euro2    file=$(ROOT)/maps/land5.dat    # emep(grenser,elver)
map=Euro3    file=$(ROOT)/maps/land6.dat    # emep(bredde,lengde)
map=Fin      file=$(ROOT)/maps/land3.dat    # fin (kyst2)
map=Norkart  file=$(ROOT)/maps/landsos1.dat # sos-filer
map=Norkart2 file=$(ROOT)/maps/landsos2.dat # sos-filer
map=Regioner file=$(ROOT)/maps/landregioner.dat # Diana-regioner
#
map=Banker     file=$(ROOT)/maps/banker.dat      # fiskebanker
map=Banker_VNN   type=lines_simple_text \
               file=$(DIANADIR)/etc/banker-ny.txt   # fiskebanker
map=MinQNH     file=$(ROOT)/maps/minqnh.dat      # minqnh areas
map=FIR        type=lines_simple_text \
               file=$(DIANADIR)/etc/fir.txt    # FIR areas
map=High.Seas  file=$(ROOT)/maps/highseas.dat    # High Seas forecast
#
map=Wvs-Auto type=normal
limit=5.0 file=$(ROOT)/maps/landwvs43m.dat # wvs(1:43mill)
limit=1.0 file=$(ROOT)/maps/landwvs12m.dat # wvs(1:12mill)
limit=0.5 file=$(ROOT)/maps/landwvs3m.dat  # wvs(1:3mill)
limit=0.1 file=$(ROOT)/maps/landwvs1m.dat  # wvs(1:1mill)
limit=0   file=$(ROOT)/maps/landwvs250k.dat# wvs(1:250.000)
contour=on cont.colour=black cont.linetype=solid cont.linewidth=1
#
map=Kommuner   file=$(ROOT)/maps/land250kommune.dat    no.log
map=Fylker     file=$(ROOT)/maps/land250fylke.dat      no.log
map=Riksgrense file=$(ROOT)/maps/land250riksgrense.dat no.log
map=Kyst       file=$(ROOT)/maps/land250kyst.dat       no.log
map=Høyde      file=$(ROOT)/maps/land250hoyde.dat      no.log
map=Vann       file=$(ROOT)/maps/land250vann.dat       no.log
map=Vei        file=$(ROOT)/maps/land250vei.dat        no.log
map=Vei2       file=$(ROOT)/maps/land250vei2.dat       no.log
map=Vei3       file=$(ROOT)/maps/land250vei3.dat       no.log
map=Bane       file=$(ROOT)/maps/land250bane.dat       no.log
#
map=World       file=$(ROOT)/maps/landworld1.dat # konturert etopo5
map=Gebco.world file=$(ROOT)/maps/landgebco.dat  # gebco
map=Vanlig   file=$(ROOT)/maps/land1.dat
map=Norsea   file=$(ROOT)/maps/land2.dat    # norsea
#
# map=MapLines1  type=lines_simple_text file=./kartlinjer1.txt
# map=MapLines2  type=lines_simple_text file=./kartlinjer2.txt
#
map=Simra_fly     type=lines_simple_text file=$(DIANADIR)/etc/simra_fly.txt
map=Flystriper    type=lines_simple_text file=$(DIANADIR)/etc/flystriper.txt
map=Approach-area type=lines_simple_text file=$(DIANADIR)/etc/approach-area.txt

</MAP_TYPE>


<OBJECTS>

# the end of filenames are always "year month day hour minute" (.yyyymmddHHMM)

name="met.no Bakkeanalyse"  file=$(OPDATA1)/diana/Bakkeanalyse/DNMI-objects/DNMI_ANAdraw

name="VA Bakkeanalyse"    file=$(OPDATA1)/diana/Bakkeanalyse/VA-objects/VA_ANAdraw
name="VV Bakkeanalyse"    file=$(OPDATA1)/diana/Bakkeanalyse/VV-objects/VV_ANAdraw
name="VNN Bakkeanalyse"   file=$(OPDATA1)/diana/Bakkeanalyse/VNN-objects/VNN_ANAdraw

name="met.no Sigkart"       file=$(OPDATA1)/diana/Sigkart/DNMI-objects/DNMI_SIGdraw
name="met.no Swikart"       file=$(OPDATA1)/diana/Swikart/DNMI-objects/DNMI_SWIdraw
name="met.no Prognose+18"   file=$(OPDATA1)/diana/Prognose+18/DNMI-objects/DNMI_PROG18draw
name="met.no Prognose+36"   file=$(OPDATA1)/diana/Prognose+36/DNMI-objects/DNMI_PROG36draw

archive_name="ARKIV Bakkeanalyse"  file=/$(STARC)/DNMI_DIANA/*/*/*/DNMI_ANAdraw

name="TEST Bakkeanalyse"  file=./work/TEST_ANAdraw
name="TEST Sigkart"       file=./work/TEST_SIGdraw
name="TEST Swikart"       file=./work/TEST_SWIdraw
name="TEST Prognose+18"   file=./work/TEST_PROG18draw
name="TEST Prognose+36"   file=./work/TEST_PROG36draw
name="TEST Tegne"   file=./work/TEST_MAPdraw

# Duplikater for eksisterende historie, hurtigmenyer og bdiana.input'er
name="DNMI Bakkeanalyse"  file=$(OPDATA1)/diana/Bakkeanalyse/DNMI-objects/DNMI_ANAdraw
name="DNMI Sigkart"       file=$(OPDATA1)/diana/Sigkart/DNMI-objects/DNMI_SIGdraw
name="DNMI Swikart"       file=$(OPDATA1)/diana/Swikart/DNMI-objects/DNMI_SWIdraw
name="DNMI Prognose+18"   file=$(OPDATA1)/diana/Prognose+18/DNMI-objects/DNMI_PROG18draw
name="DNMI Prognose+36"   file=$(OPDATA1)/diana/Prognose+36/DNMI-objects/DNMI_PROG36draw

</OBJECTS>


<EDIT>

product="Bakkeanalyse1"
  drawtools= Analyse, Sigkart
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Bakkeanalyse/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Bakkeanalyse/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse

  field=    "ANAmslp", "MSLP", 2,58,1000,0
  objects=  "ANAdraw"
  comments= "ANAcomm"

  local_idents= TEST
  database_idents=  $(DATABASE_IDENTS)

  # combine_ident: output, input1,input2,... (output must be defined above)
  combine_ident= DNMI, VA,VV,VNN
  combine_ident= TEST, VA,VV,VNN
  combine_borders= $(DIANADIR)/etc/ANAborders.  ## + TEST/DNMI

  database= $(DATABASE)
  name_in_database=Bakkeanalyse

  time_start_early=+00:00    # hour:minute (-=before,+=after product)
  time_start_late= +03:00

  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0.  # 25km polarstereographic
  # possibly minimize grid to remove undefined values along border
  #grid.minimize

  commandfile=$(DIANADIR)/etc/bakkeanalyse.txt
  standard_symbolsize=30

end.product

product="Bakkeanalyse"
  drawtools= Analyse, Sigkart
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Bakkeanalyse/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Bakkeanalyse/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse1

  field=    "ANAmslp", "MSLP", 2,58,1000,0
  field=    "ANAtend", "Tendens", 2,158,1000,0
  objects=  "ANAdraw"
  comments= "ANAcomm"

  local_idents= TEST
  database_idents=  $(DATABASE_IDENTS)

  # combine_ident: output, input1,input2,... (output must be defined above)
  combine_ident= DNMI, VA,VV,VNN
  combine_ident= TEST, VA,VV,VNN
  combine_borders= $(DIANADIR)/etc/ANAborders.  ## + TEST/DNMI

  database= $(DATABASE)
  name_in_database=Bakkeanalyse

  time_start_early=+00:00    # hour:minute (-=before,+=after product)
  time_start_late= +03:00

  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0.  # 25km polarstereographic
  # possibly minimize grid to remove undefined values along border
  #grid.minimize

  standard_symbolsize=30

end.product

product="Sigkart"
  drawtools= Analyse, Sigkart
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Sigkart/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Sigkart/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse1, Bakkeanalyse, Prognose+18

  objects=  "SIGdraw"
  comments= "SIGcomm"

  local_idents= TEST
  database_idents= DNMI

  database= $(DATABASE)
  name_in_database=Sigkart

  time_start_early= -12:00    # hour:minute (-=before,+=after product)
  time_start_late=  -04:00

  commandfile=$(DIANADIR)/etc/sigkart.txt
  standard_symbolsize=20
  complex_symbolsize=6

end.product

product="Swikart"
  drawtools= Analyse, Sigkart
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Swikart/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Swikart/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse1, Bakkeanalyse, Prognose+18, Sigkart

  objects=  "SWIdraw"
  comments= "SWIcomm"

  local_idents= TEST
  database_idents= DNMI

  database= $(DATABASE)
  name_in_database=Swikart

  commandfile=$(DIANADIR)/etc/swikart.txt
  standard_symbolsize=20
  complex_symbolsize=6

end.product

product="Prognose+18"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Prognose+18/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Prognose+18/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse

  field=    "PROG18mslp", "MSLP", 2,58,1000,0
  objects=  "PROG18draw"
  comments= "PROG18comm"

  local_idents= TEST
  database_idents= DNMI

  database= $(DATABASE)
  name_in_database=Prognose+18

  time_start_early= -18:00    # hour:minute (-=before,+=after product)
  time_start_late=   -9:00

  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0.  # 25km polarstereographic
  # possibly minimize grid to remove undefined values along border
  #grid.minimize

  commandfile=$(DIANADIR)/etc/prognose+18.txt
  standard_symbolsize=30

end.product

product="Prognose+36"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir= $(OPDATA1)/diana/Prognose+36/work
  # combine input directory
  combine_input_dir= $(OPDATA1)/diana/Prognose+36/work
  #other products to fetch objects/fields from
  input_products = Prognose+18

  field=    "PROG36mslp", "MSLP", 2,58,1000,0
  objects=  "PROG36draw"
  comments= "PROG36comm"

  local_idents= TEST
  database_idents= DNMI

  database= $(DATABASE)
  name_in_database=Prognose+36

  time_start_early= -36:00    # hour:minute (-=before,+=after product)
  time_start_late=  -24:00

  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0.  # 25km polarstereographic
  # possibly minimize grid to remove undefined values along border
  #grid.minimize

  commandfile=$(DIANADIR)/etc/prognose+36.txt
  standard_symbolsize=30

end.product

product="Prognose"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  #input_dir= $(OPDATA1)/diana/Prognose/work
  # combine input directory
  #combine_input_dir= $(OPDATA1)/diana/Prognose/work
  #other products to fetch objects/fields from
  input_products = Bakkeanalyse1, Bakkeanalyse, Prognose+18, Prognose+36

  field=    "PROGXXmslp", "MSLP", 2,58,1000,0
  objects=  "PROGXXdraw"
  comments= "PROGXXcomm"

  local_idents= TEST
  ####  database_idents=  $(DATABASE_IDENTS)

  ####  database= $(DATABASE)
  ####name_in_database=Prognose

  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0.  # 25km polarstereographic
  # possibly minimize grid to remove undefined values along border
  #grid.minimize

  #commandfile=$(DIANADIR)/etc/prognose.txt
  standard_symbolsize=30

end.product

product="Istype"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir = /opdata/diana/IsAnalyse/work

  field=    "ANAicetypeFelt", "Istype", 2,641,1000,0, tool:classes
  local_idents= TEST

end.product

product="Iskonsentrasjon"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir = /opdata/osisaf/output/ice/multi/felt/

  field=    "ANAiceconcFelt", "Iskonsentrasjon", 2,642,1000,0, min:0, max:100

  local_idents= TEST

end.product

product="Iskonsentrasjon_klasser"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir = /opdata/diana/IsAnalyse/work

  field=    "ANAiceconcclassFelt", "Iskonsentrasjon_klasser", 2,649,1000,0, tool:classes

  local_idents= TEST

end.product

product="Iskant"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  input_dir = /opdata/diana/IsAnalyse/work

  field=    "ANAiceedgeFelt", "Iskant", 2,644,1000,0, tool:classes

  local_idents= TEST

  standard_symbolsize=30

end.product

product="SST-analyse"
  # save_dir is input/output
  save_dir= ./work
  # other input directories
  #input_dir= /opdata/diana/SST/work

##field=    "ANAsst", "SST", 2,103,1000,0, min:-2.0
  field=    "ANAsst", "SST", 2,103,1000,0

  local_idents= TEST
  # producer,grid, nx,ny, gridtype gridspec[6]
  grid= 88,2001, 425,333, 1, 213.,275.,474.,0.,60.,0. # 25km
  standard_symbolsize=30
end.product

product="Bunntopografi"
  # save_dir is input/output
  save_dir= ./work
  field=    "Bunntopo", "BOTTOM_DEPTH", 8,351,0,0, tool:numbers+standard
  local_idents= TEST
end.product

product="Tegne"
  drawtools= Analyse,Sigkart
  # save_dir is input/output
  save_dir= ./work
  objects=  "MAPdraw"
  comments= "MAPcomm"
  local_idents= TEST
  standard_symbolsize=30
end.product

</EDIT>


<VERTICAL_PROFILE_FILES>

# prognostic data

m=HIRLAM.20KM.00   f=$(OPDATA1)/hirlam20/vp20km00.dat
m=HIRLAM.20KM.06   f=$(OPDATA1)/hirlam20/vp20km06.dat
m=HIRLAM.20KM.12   f=$(OPDATA1)/hirlam20/vp20km12.dat
m=HIRLAM.20KM.18   f=$(OPDATA1)/hirlam20/vp20km18.dat

m=HIRLAM.20KM.geogrid.00   f=$(OPDATA2)/hirlam20/vp20kmgeo00.dat
m=HIRLAM.20KM.geogrid.06   f=$(OPDATA2)/hirlam20/vp20kmgeo06.dat
m=HIRLAM.20KM.geogrid.12   f=$(OPDATA2)/hirlam20/vp20kmgeo12.dat
m=HIRLAM.20KM.geogrid.18   f=$(OPDATA2)/hirlam20/vp20kmgeo18.dat

m=HIRLAM.00   f=$(OPDATA1)/hirlam/vprof00.dat
m=HIRLAM.06   f=$(OPDATA1)/hirlam/vprof06.dat
m=HIRLAM.12   f=$(OPDATA1)/hirlam/vprof12.dat
m=HIRLAM.18   f=$(OPDATA1)/hirlam/vprof18.dat

m=HIRLAM.G.00   f=$(OPDATA1)/hirlam/vprof00.dat
m=HIRLAM.G.06   f=$(OPDATA1)/hirlam/vprof06.dat
m=HIRLAM.G.12   f=$(OPDATA1)/hirlam/vprof12.dat
m=HIRLAM.G.18   f=$(OPDATA1)/hirlam/vprof18.dat

m=HIRLAM.10KM.00   f=$(OPDATA2)/hirlam10/vp10km00.dat
m=HIRLAM.10KM.12   f=$(OPDATA2)/hirlam10/vp10km12.dat

m=MM5.OSLO.1KM       f=$(OPDATA2)/byluft/vpmm5oslo.dat
m=MM5.DRAMMEN.1KM    f=$(OPDATA2)/byluft/vpmm5drammen.dat
m=MM5.GRENLAND.1KM   f=$(OPDATA2)/byluft/vpmm5grenland.dat
m=MM5.STAVANGER.1KM  f=$(OPDATA2)/byluft/vpmm5stavanger.dat
m=MM5.BERGEN.1KM     f=$(OPDATA2)/byluft/vpmm5bergen.dat
m=MM5.TRONDHEIM.1KM  f=$(OPDATA2)/byluft/vpmm5trondheim.dat

m=EC.00   f=$(OPDATA2)/ec/vprofec00.dat
m=EC.12   f=$(OPDATA2)/ec/vprofec12.dat

m=EC.GEO.00   f=$(OPDATA2)/ec/vprofec00.dat
m=EC.GEO.12   f=$(OPDATA2)/ec/vprofec12.dat

# observations (obs.xxxx are repeatable)

#bufr.temp=  $(OPDATA1)/obs_dec/rdb/temp/temp[yyyymmddHH].rdb
#bufr.pilot=  $(OPDATA1)/obs_dec/rdb/pilo/pilo[yyyymmddHH].rdb
metnoobs.temp=  $(OPDATA1)/obs_dec/temp??.dat
metnoobs.temp=  $(OPDATA1)/obs_dec/temp??.dat-1
metnoobs.temp=  $(OPDATA1)/obs_dec/temp??.dat-2
metnoobs.amdar= $(OPDATA2)/obs_dec/amte??.dat
metnoobs.amdar= $(OPDATA2)/obs_dec/amte??.dat-1
metnoobs.amdar= $(OPDATA2)/obs_dec/amte??.dat-2
metnoobs.pilot= $(OPDATA1)/obs_dec/pilo??.dat
metnoobs.pilot= $(OPDATA1)/obs_dec/pilo??.dat-1
metnoobs.pilot= $(OPDATA1)/obs_dec/pilo??.dat-2

</VERTICAL_PROFILE_FILES>


<VERTICAL_CROSSECTION_FILES>

m=HIRLAM.20KM.00  f=$(OPDATA1)/hirlam20/vc20km00.dat
m=HIRLAM.20KM.06  f=$(OPDATA1)/hirlam20/vc20km06.dat
m=HIRLAM.20KM.12  f=$(OPDATA1)/hirlam20/vc20km12.dat
m=HIRLAM.20KM.18  f=$(OPDATA1)/hirlam20/vc20km18.dat

m=HIRLAM.12KM.00  f=$(OPDATA1)/hirlam12/vc12km00.dat
m=HIRLAM.12KM.06  f=$(OPDATA1)/hirlam12/vc12km06.dat
m=HIRLAM.12KM.12  f=$(OPDATA1)/hirlam12/vc12km12.dat
m=HIRLAM.12KM.18  f=$(OPDATA1)/hirlam12/vc12km18.dat 

m=HIRLAM.10KM.00  f=$(OPDATA2)/hirlam10/vc10km00.dat
m=HIRLAM.10KM.12  f=$(OPDATA2)/hirlam10/vc10km12.dat

m=SIMRA.Hammerfest.00   f=$(OPDATA2)/um1km/vcsimme00.dat
m=SIMRA.Hammerfest.12   f=$(OPDATA2)/um1km/vcsimme12.dat
m=SIMRA.Sandnessjøen.00 f=$(OPDATA2)/um1km/vcsimsa00.dat
m=SIMRA.Sandnessjøen.12 f=$(OPDATA2)/um1km/vcsimsa12.dat
m=SIMRA.Værnes.00       f=$(OPDATA2)/um1km/vcsimva00.dat
m=SIMRA.Værnes.12       f=$(OPDATA2)/um1km/vcsimva12.dat
m=SIMRA.Honningsvåg.00  f=$(OPDATA2)/um1km/vcsimho00.dat
m=SIMRA.Honningsvåg.12  f=$(OPDATA2)/um1km/vcsimho12.dat
m=SIMRA.Sandane.00      f=$(OPDATA2)/um1km/vcsimsd00.dat
m=SIMRA.Sandane.12      f=$(OPDATA2)/um1km/vcsimsd12.dat
m=SIMRA.Ørsta.00        f=$(OPDATA2)/um1km/vcsimor00.dat
m=SIMRA.Ørsta.12        f=$(OPDATA2)/um1km/vcsimor12.dat

m=ORMEN.4KM f=$(OPDATA2)/vpv/vc4km_ormen.dat

</VERTICAL_CROSSECTION_FILES>


<VERTICAL_CROSSECTION_PARAMETERS>

#---------------------------------------------------------------------------
# NOTE: nothing is case sensitive (Tk=TK th=TH etc.)
# WARNING!!! avoid spaces wherever not strictly necessary !!!
#---------------------------------------------------------------------------

# atmospheric model parameters
u=2 v=3 tk=4 q=9 rh=10 omega=13 th=18 etadot=11 w=12
turbulens=94 d1=122

# ocean model parameters
ucurr=302 vcurr=303 salt=307 seatemp=308

# possibly computed in program vcdata (horizontal computations in fields)
#   -1: Vorticity
#   -2: Divergence
#   -3: U geostrophic(grid x-direction)
#   -4: V geostrophic(grid y-direction)
#   -5: Potential vorticity
#   -6: X-component of horizontal vorticity
#   -7: Y-component of horizontal vorticity
virvling=-1 divergens=-2 ug=-3 vg=-4 pv=-5
hvx=-6 hvy=-7

</VERTICAL_CROSSECTION_PARAMETERS>


<VERTICAL_CROSSECTION_COMPUTATIONS>

#---------------------------------------------------------------------------
# output=FUNCTION(input1,input2,...)
#---------------------------------------------------------------------------

uag=SUBTRACT(u,ug)    ## SUBTRACT,ADD,MULTIPLY,DIVIDE
vag=SUBTRACT(v,vg)
tk=TK_FROM_TH(th)
tc=TC_FROM_TH(th)
th=TH_FROM_TK(tk)
tc=TC_FROM_TK(tk)
rh=RH_FROM_TH_Q(th,q)
rh=RH_FROM_TK_Q(tk,q)
q=Q_FROM_TH_RH(th,rh)
q=Q_FROM_TK_RH(tk,rh)
the=THE_FROM_TH_Q(th,q)
thesat=THESAT_FROM_TH(th)

ff_total=FF_TOTAL(u,v)                     # wind
ff_total_knots=FF_KNOTS_FROM_MS(ff_total)
ff_tangent=FF_TANGENTIAL(u,v)
ff_normal=FF_NORMAL(u,v)
ff_east_west=FF_EAST_WEST(u,v)
ff_north_south=FF_NORTH_SOUTH(u,v)
m=momentum_vn_fs(ff_normal)

ffg_total=FF_TOTAL(ug,vg)              # geostrophic wind
ffg_tangent=FF_TANGENTIAL(ug,vg)
ffg_normal=FF_NORMAL(ug,vg)
ffg_east_west=FF_EAST_WEST(ug,vg)
ffg_north_south=FF_NORTH_SOUTH(ug,vg)

ffag_total=FF_TOTAL(uag,vag)           # ageostrophic wind
ffag_tangent=FF_TANGENTIAL(uag,vag)
ffag_normal=FF_NORMAL(uag,vag)
ffag_east_west=FF_EAST_WEST(uag,vag)
ffag_north_south=FF_NORTH_SOUTH(uag,vag)

hv_total=FF_TOTAL(hvx,hvy)             # horizontal vorticity
hv_tangent=FF_TANGENTIAL(hvx,hvy)
hv_normal=FF_NORMAL(hvx,hvy)
hv_east_west=FF_EAST_WEST(hvx,hvy)
hv_north_south=FF_NORTH_SOUTH(hvx,hvy)

ffcurr_total=FF_TOTAL(ucurr,vcurr)     # ocean current
ffcurr_tangent=FF_TANGENTIAL(ucurr,vcurr)
ffcurr_normal=FF_NORMAL(ucurr,vcurr)
ffcurr_east_west=FF_EAST_WEST(ucurr,vcurr)
ffcurr_north_south=FF_NORTH_SOUTH(ucurr,vcurr)

</VERTICAL_CROSSECTION_COMPUTATIONS>


<VERTICAL_CROSSECTION_PLOTS>

# name=... starts a plot, may use multiple lines
# menu sequence as below

# Atmospheric model data
name=TH        plot=CONTOUR(th) colour=blue line.interval=4.
name=Temp(C)   plot=CONTOUR(tc) colour=red  line.interval=4.
name=Temp(K)   plot=CONTOUR(tk) colour=red  line.interval=4.
name=Q         plot=CONTOUR(q)  colour=red  line.interval=0.001
name=RH        plot=CONTOUR(rh) colour=red  line.interval=10.
name=W         plot=CONTOUR(w)  colour=red  line.interval=0.1
name=Pot.Virv. plot=CONTOUR(pv) colour=red  line.interval=1.
name=Vind      plot=WIND(ff_tangent,ff_normal)        colour=black
name=Vind_NSEW plot=WIND(ff_east_west,ff_north_south) colour=black
name=VT+OMEGA       plot=VT+OMEGA(ff_tangent,omega)   colour=darkgreen vector.unit=1.
name=(VT-VGT)+OMEGA plot=VT+OMEGA(ffag_tangent,omega) colour=darkgreen vector.unit=1.
name=VT+W           plot=VT+W(ff_tangent,w)   colour=darkgreen vector.unit=1.
name=(VT-VGT)+W     plot=VT+W(ffag_tangent,w) colour=darkgreen vector.unit=1.
name=Ekviv.pot.temp     plot=CONTOUR(the) colour=red line.interval=4.
name=Sat.ekviv.pot.temp plot=CONTOUR(thesat) colour=red line.interval=4.
name=M(Vn+f*s) plot=CONTOUR(m) colour=red line.interval=4.
name=Omega     plot=CONTOUR(omega) colour=red line.interval=0.001
name=FF          plot=CONTOUR(ff_total)       colour=red  line.interval=4.
name=FF.knop     plot=CONTOUR(ff_total_knots) colour=red  line.interval=4.
name=FF_normal   plot=CONTOUR(ff_normal)      colour=red  line.interval=4.
name=FF_tangent  plot=CONTOUR(ff_tangent)     colour=blue line.interval=4.
name=FF_nord/sør plot=CONTOUR(ff_north_south) colour=red  line.interval=4.
name=FF_øst/vest plot=CONTOUR(ff_east_west)   colour=blue line.interval=4.
name=Virvling   plot=CONTOUR(virvling)  colour=red  line.interval=0.00001
name=Divergens  plot=CONTOUR(divergens) colour=red  line.interval=0.00001
name=Turbulens  plot=CONTOUR(turbulens)  colour=red   line.interval=0.5
name=Duct       plot=CONTOUR(d1)    colour=black line.interval=10.

name=U(x_grid)  plot=CONTOUR(u)  colour=red  line.interval=4.
name=V(y_grid)  plot=CONTOUR(v)  colour=blue line.interval=4.
name=Ug(x_grid) plot=CONTOUR(ug) colour=red  line.interval=4.
name=Vg(y_grid) plot=CONTOUR(vg) colour=blue line.interval=4.

name=HV          plot=CONTOUR(hv_total)       colour=red  line.interval=0.0004
name=HV_vektor   plot=VECTOR(hv_tangent,hv_normal) colour=red vector.unit=0.001
name=HV_normal   plot=CONTOUR(hv_normal)      colour=red  line.interval=0.0004
name=HV_tangent  plot=CONTOUR(hv_tangent)     colour=blue line.interval=0.0004
name=HV_nord/sør plot=CONTOUR(hv_north_south) colour=red  line.interval=0.0004
name=HV_øst/vest plot=CONTOUR(hv_east_west)   colour=blue line.interval=0.0004

# Ocean model data
name=Temp            plot=CONTOUR(seatemp)      colour=blue line.interval=0.2
name=Salt            plot=CONTOUR(salt)         colour=red  line.interval=0.1
name=Current         plot=VECTOR(ffcurr_tangent,ffcurr_normal)        colour=red vector.unit=0.2
name=Current_NSEW    plot=VECTOR(ffcurr_east_west,ffcurr_north_south) colour=red vector.unit=0.2
name=Current_speed   plot=CONTOUR(ffcurr_total) colour=red  line.interval=0.1
name=Current_normal  plot=CONTOUR(ffcurr_normal)  colour=red  line.interval=0.1
name=Current_tangent plot=CONTOUR(ffcurr_tangent) colour=blue line.interval=0.1
name=Current_north_south  plot=CONTOUR(ffcurr_north_south) colour=red  line.interval=0.1
name=Current_east_west    plot=CONTOUR(ffcurr_east_west)   colour=blue line.interval=0.1
name=Ucurr(x_grid)   plot=CONTOUR(ucurr)        colour=red  line.interval=0.1
name=Vcurr(y_grid)   plot=CONTOUR(vcurr)        colour=blue line.interval=0.1

</VERTICAL_CROSSECTION_PLOTS>


<SPECTRUM_FILES>

# prognostic data
m=WAM.50KM.00  f=$(OPDATA2)/wave/wamspec00.dat
m=WAM.50KM.06  f=$(OPDATA2)/wave/wamspec06.dat
m=WAM.50KM.12  f=$(OPDATA2)/wave/wamspec12.dat
m=WAM.50KM.18  f=$(OPDATA2)/wave/wamspec18.dat

m=WAM.10KM.00  f=$(OPDATA2)/wave/wamspec10km00.dat
m=WAM.10KM.12  f=$(OPDATA2)/wave/wamspec10km12.dat

m=SWAN.500m.00  f=$(OPDATA2)/wave/swanspec500m00.dat
m=SWAN.500m.12  f=$(OPDATA2)/wave/swanspec500m12.dat

</SPECTRUM_FILES>


<UFFDA>
#---------------------------------------------------------------------------
# Menu specification for interactive collocation of training data
# class="<short classname>"  desc="<description of class>"
#---------------------------------------------------------------------------
mailto=uffda@met.no
class="Water" desc="No clouds, open water"
class="Land" desc="No clouds, land surface"
class="Snow on land" desc="No clouds, snow covered land"
class="Snow on sea ice" desc="No clouds, snow covered sea ice"
class="Cloud edge"  desc="Broken cloud cover, cloud edge"
class="Cloud shadow"  desc="Broken cloud cover, cloud shadow"
class="Very low stratiform cloud"  desc="Totally overcast, fog or other cloud"
class="Low stratiform cloud"  desc="Totally overcast, low stratiform cloud"
class="Medium stratiform cloud"  desc="Totally overcast, medium stratiform cloud"
class="High stratiform cloud" desc="Totally overcast, high stratiform cloud"
class="Low cumuliform cloud" desc="Totally overcast, low cumuliform cloud"
class="Medium cumuliform cloud" desc="Totally overcast, medium cumuliform cloud"
class="High cumuliform cloud" desc="Totally overcast, high cumuliform cloud"
class="Thin cirrus" desc="Totally overcast, thin cirrus"
class="Cirrus" desc="Totally overcast, cirrus"
class="Cirrus on top" desc="Totally overcast, cirrus over other clouds"
</UFFDA>
