[General]
PLUGINPATH	= /usr/local/lib/meteoio/plugins
BUFF_CHUNK_SIZE = 30
BUFF_BEFORE	= 1.5

[Input]
TIME_ZONE	= +1
COORDSYS	= PROJ4
#EPSG code of the coordinate system of Cervinia data is 23032
;COORDPARAM	= 23032
#EPSG code of the coordinate system of Arabba data is 32632
COORDPARAM	= 32632

#reading ARC dem
DEM		= ARC

DEMFILE  	=./input_maps_250m/dem.asc
GRID2D		= ARC
GRID2DPATH = ./input_maps_250m

#reading ARPS dem
; DEM		= ARPS
; DEMFILE 	= ./wgrt10r2_vw4.asc
; ARPS_X 	= 653400
; ARPS_Y 	= 112204

#reading PGM image as dem
; DEM		= PGM
; DEMFILE	= ./Switzerland.pgm
; PGM_XCOORD	= 479500.
; PGM_YCOORD	= 73500.
; PGM_CELLSIZE	= 1000.
; PGM_MIN	= 193.
; PGM_MAX	= 4204.

; LANDUSE	= ARC
; LANDUSEFILE	= ch_as97.asc

#Alpine3D traditional inputs -> A3D plugin
; METEO		= A3D
; METEOPATH	= ./input/meteo

#Borma
; METEO		= BORMA
; METEOPATH	= ./input/xml
; NROFSTATIONS	= 1
; STATION1	= 00.00.00.2

#Snowpack input
; METEO		= SNOWPACK
; METEOPATH	= input
; NROFSTATIONS	= 1
; METAFILE	= IMIS_Extracted_Info.txt ;metadata for all stations
; STATION1	= DAV1 ;this is used as a stationID to get meta data from METAFILE
; METEOFILE1	= MST96_RR.inp

#SMET meteorological file format
;METEO		= SMET
;METEOPATH	= ./src/input/meteo

;STATION1    = cimebianche.smet
;STATION1    = cimebianche2.smet

;STATION1    = PreGM.smet 
;STATION2    = PreGOIL.smet
;STATION3    = PreMAEN.smet


;STATION1    = MAEN_CF_20062011.smet
;STATION2    = GOILL_CF_20032011.smet
;STATION3    = GM_CF_20062011.smet
;STATION4    = CM_20062011.smet  
 

#IMIS network database input -> IMIS plugin
; METEO		= IMIS
; DBNAME		= sdbo
; DBUSER		= XXX
; DBPASS		= XXX
; NROFSTATIONS	= 4
; STATION1	= MORN2
; STATION2	= DAV3
; STATION3	= KLO2
; STATION4	= *SAM0

#GEOtop traditional inputs -> GEOTOP plugin
  
METEO = GEOTOP
METEOPATH =./meteo
METEOPREFIX = meteo
METAFILE = ./geotop.inpts
 

#GSN direct input -> GSN plugin
; METEO		= GSN
; ENDPOINT	= http://montblanc.slf.ch:22001/services/A3DWebService
; NROFSTATIONS	= 4
; STATION1	= wan_sen14_2008
; STATION2	= lafouly_st_1043
; STATION3	= lafouly_st_1042
; STATION4	= lafouly_st_1040

[Output]
TIME_ZONE 	= +1
COORDSYS	= PROJ4
COORDPARAM	= 32632

GRID2DPATH = ./meteoio_output
GRID2D        = ARC
;GRID2D		= PGM

;METEO		= SMET
;METEOPATH	= ./

#GEOTOP output

METEO          = GEOTOP
METEOPATH      = ./meteoio_output
METEOSEQ       = WindDir Iprec Swglob AirT RH WindSp   

[Filters]
TA::filter1	= min_max
TA::arg1    = 223 323 ; for celsius add an offset of 273.15
;TA::arg1	= -50 50  ;for degrees KELVIN

RH::filter1     = min_max
RH::arg1       = soft 0.05 1.0

HNW::filter1	= min
HNW::arg1	=  0.
HNW::filter2	= max
HNW::arg2	=  50

ISWR::filter1	= min_max
ISWR::arg1	= soft -10. 1500.

;RSWR::filter1	= min_max
;RSWR::arg1 	= -10 1500
;RSWR::filter2	= min
;RSWR::arg2	= soft 0

RSWR::filter1	= min_max
RSWR::arg1 	= soft -10 1500


#for TA between 240 and 320 K
ILWR::filter1	= min_max
ILWR::arg1	= soft 188 600

#we need to consider time with no snow -> TSS>0
#min(TSS) in db since 1998: -50C
TSS::filter1	= min_max
TSS::arg1	= 200 320

#idem
TSG::filter1	= min_max
TSG::arg1	= 200 320

HS::filter1	= min
HS::arg1	= soft 0.0
HS::filter2	= rate
HS::arg2	= 5.55e-5 ;0.20 m/h

VW::filter1	= min_max
VW::arg1	= soft 0.5 50.0

[Interpolations1D]
#resampling window is 24 hours(= 86400 seconds) 
WINDOW_SIZE	= 86400  ;186400   

TA::resample	= linear

RH::resample	= linear

HS::resample	= no

VW::resample	= nearest_neighbour
VW::args	= extrapolate

;HNW::resample = linear
;HNW::resample = accumulate
HNW::resample = no

HNW::args = 3600;  resampling interval for HNW is 900 seconds - this value has to be the same as calculation step

[Interpolations2D]
TA::algorithms	= IDW_LAPSE CST_LAPSE ; USER LIDW_LAPSE IDW_LAPSE CST_LAPSE  
;TA::cst_lapse	= -0.008 soft
;TA::lidw_lapse	= 7
TA::idw_lapse   = -0.0065 soft
; GEOtop uses as measurement unit: deg C km^-1 which means it has to be divided by 1000
TA::user	= ./test

RH::algorithms	= RH IDW_LAPSE CST

;HNW::algorithms	=IDW; IDW_LAPSE CST_LAPSE CST
HNW::algorithms	=IDW CST
;HNW::cst_lapse	= 0.0005  frac
;HNW::idw_lapse	= 0.001  frac

RSWR::algorithms = IDW ;for TawCloud

DW::algorithms = IDW 

;VW::algorithms	= IDW_LAPSE CST

VW::algorithms = WIND_CURV

P::algorithms	= STD_PRESS
