Creates an 'geotop.inpts' files the keyword and their values of a date.frame like the one returned by declared.geotop.inpts.keywords

create.geotop.inpts.keyword(
  df,
  wpath = NULL,
  comment.lines = "default",
  header = "default",
  like.meteo.keywords = inherits(df, "sf"),
  meteo_coords_keywords = c("MeteoStationCoordinateX", "MeteoStationCoordinateY"),
  meteo_lonlat_coords_keywords = c("MeteoStationLongitude", "MeteoStationLatitude"),
  num_keyword = "NumberOfMeteoStations",
  crs_lonlat = 4326,
  checkpoint_coords_keywords = c("CoordinatePointX", "CoordinatePointY"),
  checkpoint_lonlat_coords_keywords = c("CoordinatePointLongitude",
    "CoordinatePointLatitude"),
  meteo = !checkpoint,
  checkpoint = FALSE,
  coords_keywords = list(meteo_coords_keywords,
    checkpoint_coords_keywords)[which(c(meteo, checkpoint))][[1]],
  lonlat_coords_keywords = list(meteo_lonlat_coords_keywords,
    checkpoint_lonlat_coords_keywords)[which(c(meteo, checkpoint))][[1]],
  ...
)

Arguments

df

data frame returned by declared.geotop.inpts.keywords

wpath

complere path to file (optional). Default is NULL.

comment.lines

string or vector of strings to add as comments for each keyword. If it is NULL the comment lines are omitted.

header

string or vector of strings to add as a header. If it is NULL the header is omitted.

like.meteo.keywords

logical. It is used in case df is a sf object (geospatial), it often used for meteorological stations

meteo_coords_keywords, meteo_lonlat_coords_keywords

coordinate keywords for meteo/wether stations (see default)

num_keyword

keyword for number of stations in case like.meteo.keywords==TRUE.

crs_lonlat

crs use for geographical coordinates (latittude and longitude in degrees)(see default)

checkpoint_coords_keywords, checkpoint_lonlat_coords_keywords

coordinate keywords for output control points (see default)

meteo

logical: is df a sf object for weather/meteo stations?

checkpoint

logical: is df a sf object for output control/check points?

coords_keywords

keywords for station coordinates in case like.meteo.keywords==TRUE.

lonlat_coords_keywords

keywords for station geographic coordinates (longitude and latitude in degrres) in case like.meteo.keywords==TRUE.

...

further arguments for writeLines

Details

In case comment.lines and header are set equal to "default", they are suitably modified within the function code. See the example output.

Examples


library(geotopbricks)
#Simulation working path
wpath <- 
'https://raw.githubusercontent.com/ecor/geotopbricks_doc/master/simulations/panola13_run2xC_test3'
## URL path (RAW VERSION) of 
## https://github.com/ecor/geotopbricks_doc/tree/master/simulations/panola13_run2xC_test3
df <- declared.geotop.inpts.keywords(wpath=wpath)
create.geotop.inpts.keyword(df=df)
#> default
#> !
#> ! insert optional comment for the keyword below
#> !
#> TimeStepEnergyAndWater=3600
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitDateDDMMYYYYhhmm= 01/02/2012 00:00
#> !
#> ! insert optional comment for the keyword below
#> !
#> EndDateDDMMYYYYhhmm=  01/03/2012 00:00
#> !
#> ! insert optional comment for the keyword below
#> !
#> Latitude=46.75604
#> !
#> ! insert optional comment for the keyword below
#> !
#> Longitude=10.70311
#> !
#> ! insert optional comment for the keyword below
#> !
#> StandardTimeSimulation=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> WaterBalance=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> EnergyBalance=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> RecoverSim=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> FlagSkyViewFactor=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> DtPlotDischarge=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> DtPlotPoint=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> DtPlotBasin=24
#> !
#> ! insert optional comment for the keyword below
#> !
#> OutputSoilMaps=24
#> !
#> ! insert optional comment for the keyword below
#> !
#> OutputSurfEBALMaps=24
#> !
#> ! insert optional comment for the keyword below
#> !
#> OutputMeteoMaps=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> OutputSnowMaps=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> OutputGlacierMaps=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> NumberOfMeteoStations=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoStationCoordinateX=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoStationCoordinateY=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoStationElevation=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoStationWindVelocitySensorHeight=10,10,10,10,10,10,10
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoStationTemperatureSensorHeight=10,10,10,10,10,10,10
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderDateDDMMYYYYhhmmMeteo= "Date"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderJulianDayfrom0Meteo="JDfrom0"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderIPrec="Iprec"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderWindVelocity="WindSp"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderWindDirection="WindDir"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderWindX="WindX"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderWindY="WindY"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderRH="RelHum"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderAirTemp="AirT"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderAirPress="AirP"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderSWglobal="SWglobal"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderCloudSWTransmissivity="CloudTrans"
#> !
#> ! insert optional comment for the keyword below
#> !
#> CoordinatePointX=15
#> !
#> ! insert optional comment for the keyword below
#> !
#> CoordinatePointY=15
#> !
#> ! insert optional comment for the keyword below
#> !
#> LapseRateFile="lapserate"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderDateDDMMYYYYhhmmLapseRates= "Date"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderJulianDayfrom0Meteo="JDfrom0"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderLapseRateTemp="LapseRateTemp"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderLapseRateDewTemp="LapseRateDewTemp"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeaderLapseRatePrec="LapseRatePrec"
#> !
#> ! insert optional comment for the keyword below
#> !
#> NumLandCoverTypes=9
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilRoughness=100
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresSnowSoilRough=100
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegHeight=0,0,0,0,0,0,0,0,0
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresSnowVegUp=50
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresSnowVegDown=10
#> !
#> ! insert optional comment for the keyword below
#> !
#> LSAI=0,0,0,0,0,0,0,0,0
#> !
#> ! insert optional comment for the keyword below
#> !
#> CanopyFraction=0,0,0,0,0,0,0,0,0
#> !
#> ! insert optional comment for the keyword below
#> !
#> DecayCoeffCanopy=2.5
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegSnowBurying=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> RootDepth=0,0,0,0,0,0,0,0,0
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinStomatalRes=60
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegReflectVis=0.1
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegReflNIR=0.58
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegTransVis=0.05
#> !
#> ! insert optional comment for the keyword below
#> !
#> VegTransNIR=0.25
#> !
#> ! insert optional comment for the keyword below
#> !
#> LeafAngles=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> CanDensSurface=0.5
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAlbVisDry=0.15
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAlbNIRDry=0.25
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAlbVisWet=0.15
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAlbNIRWet=0.25
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilEmissiv=0.96
#> !
#> ! insert optional comment for the keyword below
#> !
#> SurFlowResLand=0.5
#> !
#> ! insert optional comment for the keyword below
#> !
#> SurFlowResExp=0.667
#> !
#> ! insert optional comment for the keyword below
#> !
#> DepthFreeSurfaceAtTheBoundary=10000000000
#> !
#> ! insert optional comment for the keyword below
#> !
#> FrozenSoilHydrCondReduction=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitSoilPressure=-800
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitSoilPressureBedrock=-800
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilLayerThicknesses=200,200,200,200,200,200,200,200,200,200,200
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitSoilTemp=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> NormalHydrConductivity=0.0278
#> !
#> ! insert optional comment for the keyword below
#> !
#> LateralHydrConductivity=0.0278
#> !
#> ! insert optional comment for the keyword below
#> !
#> NormalHydrConductivityBedrock=0.0
#> !
#> ! insert optional comment for the keyword below
#> !
#> LateralHydrConductivityBedrock=0.0
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThetaRes=0.00
#> !
#> ! insert optional comment for the keyword below
#> !
#> WiltingPoint=0.15
#> !
#> ! insert optional comment for the keyword below
#> !
#> FieldCapacity=0.3
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThetaSat=0.4
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThetaSatBedrock=0.001
#> !
#> ! insert optional comment for the keyword below
#> !
#> NVanGenuchten=3.0
#> !
#> ! insert optional comment for the keyword below
#> !
#> NVanGenuchtenBedrock=3.0
#> !
#> ! insert optional comment for the keyword below
#> !
#> AlphaVanGenuchten=0.01
#> !
#> ! insert optional comment for the keyword below
#> !
#> AlphaVanGenuchtenBedrock=0.01
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThermalConductivitySoilSolids=2.5
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThermalCapacitySoilSolids=2.30E+06
#> !
#> ! insert optional comment for the keyword below
#> !
#> SpecificStorativity=1.00E-05
#> !
#> ! insert optional comment for the keyword below
#> !
#> RatioChannelWidthPixelWidth=0.01
#> !
#> ! insert optional comment for the keyword below
#> !
#> ChannelDepression=2000
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresWaterDepthLandInf=5
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresWaterDepthLandSup=50
#> !
#> ! insert optional comment for the keyword below
#> !
#> SurFlowResChannel=20
#> !
#> ! insert optional comment for the keyword below
#> !
#> ThresWaterDepthChannel=50
#> !
#> ! insert optional comment for the keyword below
#> !
#> MaxWaterEqSnowLayerContent=10
#> !
#> ! insert optional comment for the keyword below
#> !
#> SWEtop=40
#> !
#> ! insert optional comment for the keyword below
#> !
#> SWEbottom=20
#> !
#> ! insert optional comment for the keyword below
#> !
#> MaxSnowLayersMiddle=5
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitGlacierDensity=700
#> !
#> ! insert optional comment for the keyword below
#> !
#> InitGlacierTemp=-5
#> !
#> ! insert optional comment for the keyword below
#> !
#> FlagSkyViewFactor=0
#> !
#> ! insert optional comment for the keyword below
#> !
#> LWinParameterization=4
#> !
#> ! insert optional comment for the keyword below
#> !
#> MoninObukhov=2
#> !
#> ! insert optional comment for the keyword below
#> !
#> CanopyStabCorrection=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> SlopeWeight=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> CurvatureWeight=100
#> !
#> ! insert optional comment for the keyword below
#> !
#> NumLowPassFilterOnDemForAll=2
#> !
#> ! insert optional comment for the keyword below
#> !
#> NumLowPassFilterOnDemForCurv=20
#> !
#> ! insert optional comment for the keyword below
#> !
#> RichardTol=1.E-10
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinLambdaWater=1.E-15
#> !
#> ! insert optional comment for the keyword below
#> !
#> RichardMaxIter=1000
#> !
#> ! insert optional comment for the keyword below
#> !
#> ExitMinLambdaWater=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinRatioKactualToKSat=1E-5
#> !
#> ! insert optional comment for the keyword below
#> !
#> MaxCourantSupFlowLand=0.1
#> !
#> ! insert optional comment for the keyword below
#> !
#> MaxCourantSupFlowChannel=0.1
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinSupWaterDepthLand=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinDiffSupWaterDepthLandChannel=50
#> !
#> ! insert optional comment for the keyword below
#> !
#> MinTimeStepSupFlow=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeatEqTol=1.E-4
#> !
#> ! insert optional comment for the keyword below
#> !
#> HeatEqMaxIter=200
#> !
#> ! insert optional comment for the keyword below
#> !
#> MaxTimesHalvingTimeStepEnergy=5
#> !
#> ! insert optional comment for the keyword below
#> !
#> CanopyMaxIter=3
#> !
#> ! insert optional comment for the keyword below
#> !
#> BusingerMaxIter=3
#> !
#> ! insert optional comment for the keyword below
#> !
#> TsMaxIter=3
#> !
#> ! insert optional comment for the keyword below
#> !
#> LocMaxIter=3
#> !
#> ! insert optional comment for the keyword below
#> !
#> DemFile="dtm_map"
#> !
#> ! insert optional comment for the keyword below
#> !
#> MeteoFile="meteo"
#> !
#> ! insert optional comment for the keyword below
#> !
#> SlopeMapFile="slope"
#> !
#> ! insert optional comment for the keyword below
#> !
#> AspectMapFile="aspect"
#> !
#> ! insert optional comment for the keyword below
#> !
#> CurvaturesMapFile="curvature"
#> !
#> ! insert optional comment for the keyword below
#> !
#> HorizonMeteoStationFile="horizon"
#> !
#> ! insert optional comment for the keyword below
#> !
#> RiverNetwork="net"
#> !
#> ! insert optional comment for the keyword below
#> !
#> BedrockDepthMapFile="bedrock_depth"
#> !
#> ! insert optional comment for the keyword below
#> !
#> DischargeFile="tabs/discharge"
#> !
#> ! insert optional comment for the keyword below
#> !
#> PointOutputFile="tabs/point"
#> !
#> ! insert optional comment for the keyword below
#> !
#> PointAll=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> SnowProfileFile="tabs/snow"
#> !
#> ! insert optional comment for the keyword below
#> !
#> SnowAll=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> SnowCoveredAreaFile="tabs/snowcover"
#> !
#> ! insert optional comment for the keyword below
#> !
#> BasinOutputFile="tabs/basin"
#> !
#> ! insert optional comment for the keyword below
#> !
#> BasinAll=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAveragedTempProfileFile="tabs/soilTz"
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilLiqContentProfileFile="tabs/thetaliq"
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilIceContentProfileFile="tabs/thetaice"
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilAll=1
#> !
#> ! insert optional comment for the keyword below
#> !
#> SoilLiqWaterPressTensorFile="maps/psiliq"
#> !
#> ! insert optional comment for the keyword below
#> !
#> PrecipitationMapFile="maps/Prec"
#> !
#> ! insert optional comment for the keyword below
#> !
#> NetPrecipitationFile="maps/Pnet"
#>   [1] "default"                                                         
#>   [2] "!"                                                               
#>   [3] "! insert optional comment for the keyword below"                 
#>   [4] "!"                                                               
#>   [5] "TimeStepEnergyAndWater=3600"                                     
#>   [6] "!"                                                               
#>   [7] "! insert optional comment for the keyword below"                 
#>   [8] "!"                                                               
#>   [9] "InitDateDDMMYYYYhhmm= 01/02/2012 00:00"                          
#>  [10] "!"                                                               
#>  [11] "! insert optional comment for the keyword below"                 
#>  [12] "!"                                                               
#>  [13] "EndDateDDMMYYYYhhmm=  01/03/2012 00:00"                          
#>  [14] "!"                                                               
#>  [15] "! insert optional comment for the keyword below"                 
#>  [16] "!"                                                               
#>  [17] "Latitude=46.75604"                                               
#>  [18] "!"                                                               
#>  [19] "! insert optional comment for the keyword below"                 
#>  [20] "!"                                                               
#>  [21] "Longitude=10.70311"                                              
#>  [22] "!"                                                               
#>  [23] "! insert optional comment for the keyword below"                 
#>  [24] "!"                                                               
#>  [25] "StandardTimeSimulation=1"                                        
#>  [26] "!"                                                               
#>  [27] "! insert optional comment for the keyword below"                 
#>  [28] "!"                                                               
#>  [29] "WaterBalance=1"                                                  
#>  [30] "!"                                                               
#>  [31] "! insert optional comment for the keyword below"                 
#>  [32] "!"                                                               
#>  [33] "EnergyBalance=0"                                                 
#>  [34] "!"                                                               
#>  [35] "! insert optional comment for the keyword below"                 
#>  [36] "!"                                                               
#>  [37] "RecoverSim=0"                                                    
#>  [38] "!"                                                               
#>  [39] "! insert optional comment for the keyword below"                 
#>  [40] "!"                                                               
#>  [41] "FlagSkyViewFactor=0"                                             
#>  [42] "!"                                                               
#>  [43] "! insert optional comment for the keyword below"                 
#>  [44] "!"                                                               
#>  [45] "DtPlotDischarge=1"                                               
#>  [46] "!"                                                               
#>  [47] "! insert optional comment for the keyword below"                 
#>  [48] "!"                                                               
#>  [49] "DtPlotPoint=1"                                                   
#>  [50] "!"                                                               
#>  [51] "! insert optional comment for the keyword below"                 
#>  [52] "!"                                                               
#>  [53] "DtPlotBasin=24"                                                  
#>  [54] "!"                                                               
#>  [55] "! insert optional comment for the keyword below"                 
#>  [56] "!"                                                               
#>  [57] "OutputSoilMaps=24"                                               
#>  [58] "!"                                                               
#>  [59] "! insert optional comment for the keyword below"                 
#>  [60] "!"                                                               
#>  [61] "OutputSurfEBALMaps=24"                                           
#>  [62] "!"                                                               
#>  [63] "! insert optional comment for the keyword below"                 
#>  [64] "!"                                                               
#>  [65] "OutputMeteoMaps=0"                                               
#>  [66] "!"                                                               
#>  [67] "! insert optional comment for the keyword below"                 
#>  [68] "!"                                                               
#>  [69] "OutputSnowMaps=0"                                                
#>  [70] "!"                                                               
#>  [71] "! insert optional comment for the keyword below"                 
#>  [72] "!"                                                               
#>  [73] "OutputGlacierMaps=0"                                             
#>  [74] "!"                                                               
#>  [75] "! insert optional comment for the keyword below"                 
#>  [76] "!"                                                               
#>  [77] "NumberOfMeteoStations=1"                                         
#>  [78] "!"                                                               
#>  [79] "! insert optional comment for the keyword below"                 
#>  [80] "!"                                                               
#>  [81] "MeteoStationCoordinateX=0"                                       
#>  [82] "!"                                                               
#>  [83] "! insert optional comment for the keyword below"                 
#>  [84] "!"                                                               
#>  [85] "MeteoStationCoordinateY=0"                                       
#>  [86] "!"                                                               
#>  [87] "! insert optional comment for the keyword below"                 
#>  [88] "!"                                                               
#>  [89] "MeteoStationElevation=0"                                         
#>  [90] "!"                                                               
#>  [91] "! insert optional comment for the keyword below"                 
#>  [92] "!"                                                               
#>  [93] "MeteoStationWindVelocitySensorHeight=10,10,10,10,10,10,10"       
#>  [94] "!"                                                               
#>  [95] "! insert optional comment for the keyword below"                 
#>  [96] "!"                                                               
#>  [97] "MeteoStationTemperatureSensorHeight=10,10,10,10,10,10,10"        
#>  [98] "!"                                                               
#>  [99] "! insert optional comment for the keyword below"                 
#> [100] "!"                                                               
#> [101] "HeaderDateDDMMYYYYhhmmMeteo= \"Date\""                           
#> [102] "!"                                                               
#> [103] "! insert optional comment for the keyword below"                 
#> [104] "!"                                                               
#> [105] "HeaderJulianDayfrom0Meteo=\"JDfrom0\""                           
#> [106] "!"                                                               
#> [107] "! insert optional comment for the keyword below"                 
#> [108] "!"                                                               
#> [109] "HeaderIPrec=\"Iprec\""                                           
#> [110] "!"                                                               
#> [111] "! insert optional comment for the keyword below"                 
#> [112] "!"                                                               
#> [113] "HeaderWindVelocity=\"WindSp\""                                   
#> [114] "!"                                                               
#> [115] "! insert optional comment for the keyword below"                 
#> [116] "!"                                                               
#> [117] "HeaderWindDirection=\"WindDir\""                                 
#> [118] "!"                                                               
#> [119] "! insert optional comment for the keyword below"                 
#> [120] "!"                                                               
#> [121] "HeaderWindX=\"WindX\""                                           
#> [122] "!"                                                               
#> [123] "! insert optional comment for the keyword below"                 
#> [124] "!"                                                               
#> [125] "HeaderWindY=\"WindY\""                                           
#> [126] "!"                                                               
#> [127] "! insert optional comment for the keyword below"                 
#> [128] "!"                                                               
#> [129] "HeaderRH=\"RelHum\""                                             
#> [130] "!"                                                               
#> [131] "! insert optional comment for the keyword below"                 
#> [132] "!"                                                               
#> [133] "HeaderAirTemp=\"AirT\""                                          
#> [134] "!"                                                               
#> [135] "! insert optional comment for the keyword below"                 
#> [136] "!"                                                               
#> [137] "HeaderAirPress=\"AirP\""                                         
#> [138] "!"                                                               
#> [139] "! insert optional comment for the keyword below"                 
#> [140] "!"                                                               
#> [141] "HeaderSWglobal=\"SWglobal\""                                     
#> [142] "!"                                                               
#> [143] "! insert optional comment for the keyword below"                 
#> [144] "!"                                                               
#> [145] "HeaderCloudSWTransmissivity=\"CloudTrans\""                      
#> [146] "!"                                                               
#> [147] "! insert optional comment for the keyword below"                 
#> [148] "!"                                                               
#> [149] "CoordinatePointX=15"                                             
#> [150] "!"                                                               
#> [151] "! insert optional comment for the keyword below"                 
#> [152] "!"                                                               
#> [153] "CoordinatePointY=15"                                             
#> [154] "!"                                                               
#> [155] "! insert optional comment for the keyword below"                 
#> [156] "!"                                                               
#> [157] "LapseRateFile=\"lapserate\""                                     
#> [158] "!"                                                               
#> [159] "! insert optional comment for the keyword below"                 
#> [160] "!"                                                               
#> [161] "HeaderDateDDMMYYYYhhmmLapseRates= \"Date\""                      
#> [162] "!"                                                               
#> [163] "! insert optional comment for the keyword below"                 
#> [164] "!"                                                               
#> [165] "HeaderJulianDayfrom0Meteo=\"JDfrom0\""                           
#> [166] "!"                                                               
#> [167] "! insert optional comment for the keyword below"                 
#> [168] "!"                                                               
#> [169] "HeaderLapseRateTemp=\"LapseRateTemp\""                           
#> [170] "!"                                                               
#> [171] "! insert optional comment for the keyword below"                 
#> [172] "!"                                                               
#> [173] "HeaderLapseRateDewTemp=\"LapseRateDewTemp\""                     
#> [174] "!"                                                               
#> [175] "! insert optional comment for the keyword below"                 
#> [176] "!"                                                               
#> [177] "HeaderLapseRatePrec=\"LapseRatePrec\""                           
#> [178] "!"                                                               
#> [179] "! insert optional comment for the keyword below"                 
#> [180] "!"                                                               
#> [181] "NumLandCoverTypes=9"                                             
#> [182] "!"                                                               
#> [183] "! insert optional comment for the keyword below"                 
#> [184] "!"                                                               
#> [185] "SoilRoughness=100"                                               
#> [186] "!"                                                               
#> [187] "! insert optional comment for the keyword below"                 
#> [188] "!"                                                               
#> [189] "ThresSnowSoilRough=100"                                          
#> [190] "!"                                                               
#> [191] "! insert optional comment for the keyword below"                 
#> [192] "!"                                                               
#> [193] "VegHeight=0,0,0,0,0,0,0,0,0"                                     
#> [194] "!"                                                               
#> [195] "! insert optional comment for the keyword below"                 
#> [196] "!"                                                               
#> [197] "ThresSnowVegUp=50"                                               
#> [198] "!"                                                               
#> [199] "! insert optional comment for the keyword below"                 
#> [200] "!"                                                               
#> [201] "ThresSnowVegDown=10"                                             
#> [202] "!"                                                               
#> [203] "! insert optional comment for the keyword below"                 
#> [204] "!"                                                               
#> [205] "LSAI=0,0,0,0,0,0,0,0,0"                                          
#> [206] "!"                                                               
#> [207] "! insert optional comment for the keyword below"                 
#> [208] "!"                                                               
#> [209] "CanopyFraction=0,0,0,0,0,0,0,0,0"                                
#> [210] "!"                                                               
#> [211] "! insert optional comment for the keyword below"                 
#> [212] "!"                                                               
#> [213] "DecayCoeffCanopy=2.5"                                            
#> [214] "!"                                                               
#> [215] "! insert optional comment for the keyword below"                 
#> [216] "!"                                                               
#> [217] "VegSnowBurying=1"                                                
#> [218] "!"                                                               
#> [219] "! insert optional comment for the keyword below"                 
#> [220] "!"                                                               
#> [221] "RootDepth=0,0,0,0,0,0,0,0,0"                                     
#> [222] "!"                                                               
#> [223] "! insert optional comment for the keyword below"                 
#> [224] "!"                                                               
#> [225] "MinStomatalRes=60"                                               
#> [226] "!"                                                               
#> [227] "! insert optional comment for the keyword below"                 
#> [228] "!"                                                               
#> [229] "VegReflectVis=0.1"                                               
#> [230] "!"                                                               
#> [231] "! insert optional comment for the keyword below"                 
#> [232] "!"                                                               
#> [233] "VegReflNIR=0.58"                                                 
#> [234] "!"                                                               
#> [235] "! insert optional comment for the keyword below"                 
#> [236] "!"                                                               
#> [237] "VegTransVis=0.05"                                                
#> [238] "!"                                                               
#> [239] "! insert optional comment for the keyword below"                 
#> [240] "!"                                                               
#> [241] "VegTransNIR=0.25"                                                
#> [242] "!"                                                               
#> [243] "! insert optional comment for the keyword below"                 
#> [244] "!"                                                               
#> [245] "LeafAngles=0"                                                    
#> [246] "!"                                                               
#> [247] "! insert optional comment for the keyword below"                 
#> [248] "!"                                                               
#> [249] "CanDensSurface=0.5"                                              
#> [250] "!"                                                               
#> [251] "! insert optional comment for the keyword below"                 
#> [252] "!"                                                               
#> [253] "SoilAlbVisDry=0.15"                                              
#> [254] "!"                                                               
#> [255] "! insert optional comment for the keyword below"                 
#> [256] "!"                                                               
#> [257] "SoilAlbNIRDry=0.25"                                              
#> [258] "!"                                                               
#> [259] "! insert optional comment for the keyword below"                 
#> [260] "!"                                                               
#> [261] "SoilAlbVisWet=0.15"                                              
#> [262] "!"                                                               
#> [263] "! insert optional comment for the keyword below"                 
#> [264] "!"                                                               
#> [265] "SoilAlbNIRWet=0.25"                                              
#> [266] "!"                                                               
#> [267] "! insert optional comment for the keyword below"                 
#> [268] "!"                                                               
#> [269] "SoilEmissiv=0.96"                                                
#> [270] "!"                                                               
#> [271] "! insert optional comment for the keyword below"                 
#> [272] "!"                                                               
#> [273] "SurFlowResLand=0.5"                                              
#> [274] "!"                                                               
#> [275] "! insert optional comment for the keyword below"                 
#> [276] "!"                                                               
#> [277] "SurFlowResExp=0.667"                                             
#> [278] "!"                                                               
#> [279] "! insert optional comment for the keyword below"                 
#> [280] "!"                                                               
#> [281] "DepthFreeSurfaceAtTheBoundary=10000000000"                       
#> [282] "!"                                                               
#> [283] "! insert optional comment for the keyword below"                 
#> [284] "!"                                                               
#> [285] "FrozenSoilHydrCondReduction=0"                                   
#> [286] "!"                                                               
#> [287] "! insert optional comment for the keyword below"                 
#> [288] "!"                                                               
#> [289] "InitSoilPressure=-800"                                           
#> [290] "!"                                                               
#> [291] "! insert optional comment for the keyword below"                 
#> [292] "!"                                                               
#> [293] "InitSoilPressureBedrock=-800"                                    
#> [294] "!"                                                               
#> [295] "! insert optional comment for the keyword below"                 
#> [296] "!"                                                               
#> [297] "SoilLayerThicknesses=200,200,200,200,200,200,200,200,200,200,200"
#> [298] "!"                                                               
#> [299] "! insert optional comment for the keyword below"                 
#> [300] "!"                                                               
#> [301] "InitSoilTemp=0"                                                  
#> [302] "!"                                                               
#> [303] "! insert optional comment for the keyword below"                 
#> [304] "!"                                                               
#> [305] "NormalHydrConductivity=0.0278"                                   
#> [306] "!"                                                               
#> [307] "! insert optional comment for the keyword below"                 
#> [308] "!"                                                               
#> [309] "LateralHydrConductivity=0.0278"                                  
#> [310] "!"                                                               
#> [311] "! insert optional comment for the keyword below"                 
#> [312] "!"                                                               
#> [313] "NormalHydrConductivityBedrock=0.0"                               
#> [314] "!"                                                               
#> [315] "! insert optional comment for the keyword below"                 
#> [316] "!"                                                               
#> [317] "LateralHydrConductivityBedrock=0.0"                              
#> [318] "!"                                                               
#> [319] "! insert optional comment for the keyword below"                 
#> [320] "!"                                                               
#> [321] "ThetaRes=0.00"                                                   
#> [322] "!"                                                               
#> [323] "! insert optional comment for the keyword below"                 
#> [324] "!"                                                               
#> [325] "WiltingPoint=0.15"                                               
#> [326] "!"                                                               
#> [327] "! insert optional comment for the keyword below"                 
#> [328] "!"                                                               
#> [329] "FieldCapacity=0.3"                                               
#> [330] "!"                                                               
#> [331] "! insert optional comment for the keyword below"                 
#> [332] "!"                                                               
#> [333] "ThetaSat=0.4"                                                    
#> [334] "!"                                                               
#> [335] "! insert optional comment for the keyword below"                 
#> [336] "!"                                                               
#> [337] "ThetaSatBedrock=0.001"                                           
#> [338] "!"                                                               
#> [339] "! insert optional comment for the keyword below"                 
#> [340] "!"                                                               
#> [341] "NVanGenuchten=3.0"                                               
#> [342] "!"                                                               
#> [343] "! insert optional comment for the keyword below"                 
#> [344] "!"                                                               
#> [345] "NVanGenuchtenBedrock=3.0"                                        
#> [346] "!"                                                               
#> [347] "! insert optional comment for the keyword below"                 
#> [348] "!"                                                               
#> [349] "AlphaVanGenuchten=0.01"                                          
#> [350] "!"                                                               
#> [351] "! insert optional comment for the keyword below"                 
#> [352] "!"                                                               
#> [353] "AlphaVanGenuchtenBedrock=0.01"                                   
#> [354] "!"                                                               
#> [355] "! insert optional comment for the keyword below"                 
#> [356] "!"                                                               
#> [357] "ThermalConductivitySoilSolids=2.5"                               
#> [358] "!"                                                               
#> [359] "! insert optional comment for the keyword below"                 
#> [360] "!"                                                               
#> [361] "ThermalCapacitySoilSolids=2.30E+06"                              
#> [362] "!"                                                               
#> [363] "! insert optional comment for the keyword below"                 
#> [364] "!"                                                               
#> [365] "SpecificStorativity=1.00E-05"                                    
#> [366] "!"                                                               
#> [367] "! insert optional comment for the keyword below"                 
#> [368] "!"                                                               
#> [369] "RatioChannelWidthPixelWidth=0.01"                                
#> [370] "!"                                                               
#> [371] "! insert optional comment for the keyword below"                 
#> [372] "!"                                                               
#> [373] "ChannelDepression=2000"                                          
#> [374] "!"                                                               
#> [375] "! insert optional comment for the keyword below"                 
#> [376] "!"                                                               
#> [377] "ThresWaterDepthLandInf=5"                                        
#> [378] "!"                                                               
#> [379] "! insert optional comment for the keyword below"                 
#> [380] "!"                                                               
#> [381] "ThresWaterDepthLandSup=50"                                       
#> [382] "!"                                                               
#> [383] "! insert optional comment for the keyword below"                 
#> [384] "!"                                                               
#> [385] "SurFlowResChannel=20"                                            
#> [386] "!"                                                               
#> [387] "! insert optional comment for the keyword below"                 
#> [388] "!"                                                               
#> [389] "ThresWaterDepthChannel=50"                                       
#> [390] "!"                                                               
#> [391] "! insert optional comment for the keyword below"                 
#> [392] "!"                                                               
#> [393] "MaxWaterEqSnowLayerContent=10"                                   
#> [394] "!"                                                               
#> [395] "! insert optional comment for the keyword below"                 
#> [396] "!"                                                               
#> [397] "SWEtop=40"                                                       
#> [398] "!"                                                               
#> [399] "! insert optional comment for the keyword below"                 
#> [400] "!"                                                               
#> [401] "SWEbottom=20"                                                    
#> [402] "!"                                                               
#> [403] "! insert optional comment for the keyword below"                 
#> [404] "!"                                                               
#> [405] "MaxSnowLayersMiddle=5"                                           
#> [406] "!"                                                               
#> [407] "! insert optional comment for the keyword below"                 
#> [408] "!"                                                               
#> [409] "InitGlacierDensity=700"                                          
#> [410] "!"                                                               
#> [411] "! insert optional comment for the keyword below"                 
#> [412] "!"                                                               
#> [413] "InitGlacierTemp=-5"                                              
#> [414] "!"                                                               
#> [415] "! insert optional comment for the keyword below"                 
#> [416] "!"                                                               
#> [417] "FlagSkyViewFactor=0"                                             
#> [418] "!"                                                               
#> [419] "! insert optional comment for the keyword below"                 
#> [420] "!"                                                               
#> [421] "LWinParameterization=4"                                          
#> [422] "!"                                                               
#> [423] "! insert optional comment for the keyword below"                 
#> [424] "!"                                                               
#> [425] "MoninObukhov=2"                                                  
#> [426] "!"                                                               
#> [427] "! insert optional comment for the keyword below"                 
#> [428] "!"                                                               
#> [429] "CanopyStabCorrection=1"                                          
#> [430] "!"                                                               
#> [431] "! insert optional comment for the keyword below"                 
#> [432] "!"                                                               
#> [433] "SlopeWeight=1"                                                   
#> [434] "!"                                                               
#> [435] "! insert optional comment for the keyword below"                 
#> [436] "!"                                                               
#> [437] "CurvatureWeight=100"                                             
#> [438] "!"                                                               
#> [439] "! insert optional comment for the keyword below"                 
#> [440] "!"                                                               
#> [441] "NumLowPassFilterOnDemForAll=2"                                   
#> [442] "!"                                                               
#> [443] "! insert optional comment for the keyword below"                 
#> [444] "!"                                                               
#> [445] "NumLowPassFilterOnDemForCurv=20"                                 
#> [446] "!"                                                               
#> [447] "! insert optional comment for the keyword below"                 
#> [448] "!"                                                               
#> [449] "RichardTol=1.E-10"                                               
#> [450] "!"                                                               
#> [451] "! insert optional comment for the keyword below"                 
#> [452] "!"                                                               
#> [453] "MinLambdaWater=1.E-15"                                           
#> [454] "!"                                                               
#> [455] "! insert optional comment for the keyword below"                 
#> [456] "!"                                                               
#> [457] "RichardMaxIter=1000"                                             
#> [458] "!"                                                               
#> [459] "! insert optional comment for the keyword below"                 
#> [460] "!"                                                               
#> [461] "ExitMinLambdaWater=1"                                            
#> [462] "!"                                                               
#> [463] "! insert optional comment for the keyword below"                 
#> [464] "!"                                                               
#> [465] "MinRatioKactualToKSat=1E-5"                                      
#> [466] "!"                                                               
#> [467] "! insert optional comment for the keyword below"                 
#> [468] "!"                                                               
#> [469] "MaxCourantSupFlowLand=0.1"                                       
#> [470] "!"                                                               
#> [471] "! insert optional comment for the keyword below"                 
#> [472] "!"                                                               
#> [473] "MaxCourantSupFlowChannel=0.1"                                    
#> [474] "!"                                                               
#> [475] "! insert optional comment for the keyword below"                 
#> [476] "!"                                                               
#> [477] "MinSupWaterDepthLand=1"                                          
#> [478] "!"                                                               
#> [479] "! insert optional comment for the keyword below"                 
#> [480] "!"                                                               
#> [481] "MinDiffSupWaterDepthLandChannel=50"                              
#> [482] "!"                                                               
#> [483] "! insert optional comment for the keyword below"                 
#> [484] "!"                                                               
#> [485] "MinTimeStepSupFlow=1"                                            
#> [486] "!"                                                               
#> [487] "! insert optional comment for the keyword below"                 
#> [488] "!"                                                               
#> [489] "HeatEqTol=1.E-4"                                                 
#> [490] "!"                                                               
#> [491] "! insert optional comment for the keyword below"                 
#> [492] "!"                                                               
#> [493] "HeatEqMaxIter=200"                                               
#> [494] "!"                                                               
#> [495] "! insert optional comment for the keyword below"                 
#> [496] "!"                                                               
#> [497] "MaxTimesHalvingTimeStepEnergy=5"                                 
#> [498] "!"                                                               
#> [499] "! insert optional comment for the keyword below"                 
#> [500] "!"                                                               
#> [501] "CanopyMaxIter=3"                                                 
#> [502] "!"                                                               
#> [503] "! insert optional comment for the keyword below"                 
#> [504] "!"                                                               
#> [505] "BusingerMaxIter=3"                                               
#> [506] "!"                                                               
#> [507] "! insert optional comment for the keyword below"                 
#> [508] "!"                                                               
#> [509] "TsMaxIter=3"                                                     
#> [510] "!"                                                               
#> [511] "! insert optional comment for the keyword below"                 
#> [512] "!"                                                               
#> [513] "LocMaxIter=3"                                                    
#> [514] "!"                                                               
#> [515] "! insert optional comment for the keyword below"                 
#> [516] "!"                                                               
#> [517] "DemFile=\"dtm_map\""                                             
#> [518] "!"                                                               
#> [519] "! insert optional comment for the keyword below"                 
#> [520] "!"                                                               
#> [521] "MeteoFile=\"meteo\""                                             
#> [522] "!"                                                               
#> [523] "! insert optional comment for the keyword below"                 
#> [524] "!"                                                               
#> [525] "SlopeMapFile=\"slope\""                                          
#> [526] "!"                                                               
#> [527] "! insert optional comment for the keyword below"                 
#> [528] "!"                                                               
#> [529] "AspectMapFile=\"aspect\""                                        
#> [530] "!"                                                               
#> [531] "! insert optional comment for the keyword below"                 
#> [532] "!"                                                               
#> [533] "CurvaturesMapFile=\"curvature\""                                 
#> [534] "!"                                                               
#> [535] "! insert optional comment for the keyword below"                 
#> [536] "!"                                                               
#> [537] "HorizonMeteoStationFile=\"horizon\""                             
#> [538] "!"                                                               
#> [539] "! insert optional comment for the keyword below"                 
#> [540] "!"                                                               
#> [541] "RiverNetwork=\"net\""                                            
#> [542] "!"                                                               
#> [543] "! insert optional comment for the keyword below"                 
#> [544] "!"                                                               
#> [545] "BedrockDepthMapFile=\"bedrock_depth\""                           
#> [546] "!"                                                               
#> [547] "! insert optional comment for the keyword below"                 
#> [548] "!"                                                               
#> [549] "DischargeFile=\"tabs/discharge\""                                
#> [550] "!"                                                               
#> [551] "! insert optional comment for the keyword below"                 
#> [552] "!"                                                               
#> [553] "PointOutputFile=\"tabs/point\""                                  
#> [554] "!"                                                               
#> [555] "! insert optional comment for the keyword below"                 
#> [556] "!"                                                               
#> [557] "PointAll=1"                                                      
#> [558] "!"                                                               
#> [559] "! insert optional comment for the keyword below"                 
#> [560] "!"                                                               
#> [561] "SnowProfileFile=\"tabs/snow\""                                   
#> [562] "!"                                                               
#> [563] "! insert optional comment for the keyword below"                 
#> [564] "!"                                                               
#> [565] "SnowAll=1"                                                       
#> [566] "!"                                                               
#> [567] "! insert optional comment for the keyword below"                 
#> [568] "!"                                                               
#> [569] "SnowCoveredAreaFile=\"tabs/snowcover\""                          
#> [570] "!"                                                               
#> [571] "! insert optional comment for the keyword below"                 
#> [572] "!"                                                               
#> [573] "BasinOutputFile=\"tabs/basin\""                                  
#> [574] "!"                                                               
#> [575] "! insert optional comment for the keyword below"                 
#> [576] "!"                                                               
#> [577] "BasinAll=1"                                                      
#> [578] "!"                                                               
#> [579] "! insert optional comment for the keyword below"                 
#> [580] "!"                                                               
#> [581] "SoilAveragedTempProfileFile=\"tabs/soilTz\""                     
#> [582] "!"                                                               
#> [583] "! insert optional comment for the keyword below"                 
#> [584] "!"                                                               
#> [585] "SoilLiqContentProfileFile=\"tabs/thetaliq\""                     
#> [586] "!"                                                               
#> [587] "! insert optional comment for the keyword below"                 
#> [588] "!"                                                               
#> [589] "SoilIceContentProfileFile=\"tabs/thetaice\""                     
#> [590] "!"                                                               
#> [591] "! insert optional comment for the keyword below"                 
#> [592] "!"                                                               
#> [593] "SoilAll=1"                                                       
#> [594] "!"                                                               
#> [595] "! insert optional comment for the keyword below"                 
#> [596] "!"                                                               
#> [597] "SoilLiqWaterPressTensorFile=\"maps/psiliq\""                     
#> [598] "!"                                                               
#> [599] "! insert optional comment for the keyword below"                 
#> [600] "!"                                                               
#> [601] "PrecipitationMapFile=\"maps/Prec\""                              
#> [602] "!"                                                               
#> [603] "! insert optional comment for the keyword below"                 
#> [604] "!"                                                               
#> [605] "NetPrecipitationFile=\"maps/Pnet\""                              


df <- list(
## ! START METEO 

NumberOfMeteoStations=18,
MeteoStationCode = c("DWD_01735","DWD_01831",
"DWD_01832","DWD_01833","DWD_04354","DWD_04755",
"DWD_05306","DWD_05800","DWD_05802","DWD_06191",
"CHMI_C1BLAD01","CHMI_C1CHUR01","CHMI_C1HUSI01",
"CHMI_C1JELE01","CHMI_C1KHOR01","CHMI_C1STRZ01",
"CHMI_C1VOLR01","CHMI_L1HOJS01"),

MeteoStationElevation = c(628,1449,1436,1307,457,
847,940,615,615,684,893,1117.8,492,810,728,811,749,866),

MeteoStationLatitude = c(48.7894,49.1126,49.1129,
49.0851,48.7832,48.6819,48.9293,49.028,
49.0007,48.9023,48.9911111111111,49.0683333333333,49.0525,48.8030555555556,
49.1455555555556,48.9088888888889,48.9088888888889,49.2125),

MeteoStationLongitude = c(13.629,13.1353,13.1338,13.2801,13.3146,13.7351,
13.4641,13.2385,13.2137,13.1442,13.6683333333333,13.6152777777778,13.99,13.8897222222222,
13.55,13.7202777777778,13.8866666666667,13.1972222222222),
MeteoStationSource = c("DWD","DWD","DWD","DWD","DWD","DWD","DWD","DWD",
"DWD","DWD","CHMI","CHMI","CHMI","CHMI","CHMI","CHMI","CHMI","CHMI"),
MeteoStationWindVelocitySensorHeight = c(10,10,10,10,10,10,
10,10,10,10,10,10,10,10,10,10,10,10),
MeteoStationTemperatureSensorHeight = c(2,2,2,2,
2,2,2,2,2,2,2,2,2,2,2,2,2,2),
MeteoStationCoordinateX = c(399300.751483554,
363922.260272129,363813.623704389,374419.289552317,376193.768289692,
406895.244369364,387503.305318229,371234.500519548,
369350.262272179,364000.012870334,402582.414145364,
398857.930427203,426204.259500581,418472.448448941,
394254.345037428,406228.32523286,418420.252345735,368705.300573528),
MeteoStationCoordinateY = c(5404951.24399018,5441647.41925558,
5441683.4621225,5438340.55274848,5404725.536756,5392867.0291128,
5420733.31978365,5432063.12861282,5429070.90371837,
5418255.08734482,5427322.00086173,5435975.56352357,5433783.28344618,
5406157.18835262,5444648.8862922,5418116.78091222,5417924.86335169,
5452642.98443844)
###! END METEO
)


out1 <- create.geotop.inpts.keyword(df=df,comment.lines="")
#> default
#> 
#> NumberOfMeteoStations=18
#> 
#> MeteoStationCode=DWD_01735,DWD_01831,DWD_01832,DWD_01833,DWD_04354,DWD_04755,DWD_05306,DWD_05800,DWD_05802,DWD_06191,CHMI_C1BLAD01,CHMI_C1CHUR01,CHMI_C1HUSI01,CHMI_C1JELE01,CHMI_C1KHOR01,CHMI_C1STRZ01,CHMI_C1VOLR01,CHMI_L1HOJS01
#> 
#> MeteoStationElevation=628,1449,1436,1307,457,847,940,615,615,684,893,1117.8,492,810,728,811,749,866
#> 
#> MeteoStationLatitude=48.7894,49.1126,49.1129,49.0851,48.7832,48.6819,48.9293,49.028,49.0007,48.9023,48.9911111111111,49.0683333333333,49.0525,48.8030555555556,49.1455555555556,48.9088888888889,48.9088888888889,49.2125
#> 
#> MeteoStationLongitude=13.629,13.1353,13.1338,13.2801,13.3146,13.7351,13.4641,13.2385,13.2137,13.1442,13.6683333333333,13.6152777777778,13.99,13.8897222222222,13.55,13.7202777777778,13.8866666666667,13.1972222222222
#> 
#> MeteoStationSource=DWD,DWD,DWD,DWD,DWD,DWD,DWD,DWD,DWD,DWD,CHMI,CHMI,CHMI,CHMI,CHMI,CHMI,CHMI,CHMI
#> 
#> MeteoStationWindVelocitySensorHeight=10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10
#> 
#> MeteoStationTemperatureSensorHeight=2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2
#> 
#> MeteoStationCoordinateX=399300.751483554,363922.260272129,363813.623704389,374419.289552317,376193.768289692,406895.244369364,387503.305318229,371234.500519548,369350.262272179,364000.012870334,402582.414145364,398857.930427203,426204.259500581,418472.448448941,394254.345037428,406228.32523286,418420.252345735,368705.300573528
#> 
#> MeteoStationCoordinateY=5404951.24399018,5441647.41925558,5441683.4621225,5438340.55274848,5404725.536756,5392867.0291128,5420733.31978365,5432063.12861282,5429070.90371837,5418255.08734482,5427322.00086173,5435975.56352357,5433783.28344618,5406157.18835262,5444648.8862922,5418116.78091222,5417924.86335169,5452642.98443844

###
library(terra)
#> terra 1.8.58
#> 
#> Attaching package: ‘terra’
#> The following object is masked from ‘package:zoo’:
#> 
#>     time<-

meteo_sts <- terra::vect(system.file("ex_data/meteo_sts3.rds",package="geotopbricks")) |>
   st_as_sf()
   
   
out2 <- create.geotop.inpts.keyword(df=meteo_sts,comment.lines="")
#> default
#> 
#> MeteoStationCoordinateX=655351.086730603,670675.304925094,654891.602324563,649703.698676308,670555.626371998,689067.491498123,679671.6020527,685776.007458624,676842.821008098,678840.351724782,669907.423253513,674901.136020487,682891.299400483,676954.476276673,682947.128699915,686998.146580986,670074.874339277,676067.352949235,686055.163718751,668133.222617811,681172.828190676,677233.538870388,679231.07772531,683226.208202526,686222.603000326,674293.061128542,674348.854975826,676346.369756032,678343.901794649,677400.924466786,672462.930529221,680453.031212814,682450.600084766,668523.761204749,674516.210909073,677512.493158213,671575.742877766,673629.007322781,676625.278697772,683672.502345514,676736.811977744
#> 
#> MeteoStationCoordinateY=5260901.4045469,5260760.93979053,5274234.28539904,5253859.72549078,5255285.32723999,5278012.72632141,5274608.21431367,5272945.71168906,5271444.39648009,5271556.06170175,5270054.85715809,5270333.9811456,5270780.6125743,5269446.87316514,5269781.82427595,5269006.33068408,5267058.65827207,5267393.53299058,5267951.70286771,5265948.31191677,5265675.04765904,5264453.05455076,5264564.65894493,5264787.87375149,5264955.29022815,5263286.89923909,5262288.14637512,5262399.73067686,5262511.31674014,5261456.75727674,5260179.07378294,5260625.34547926,5260736.917387,5258957.21823289,5259291.88527911,5259459.22362327,5258125.80845076,5257238.60585056,5257405.91735372,5256797.52751998,5255408.38962431
#> 
#> MeteoStationLongitude=11.0621,11.2653,11.0607,10.9848,11.2616,11.5166,11.390254466796,11.470683664822,11.3513799412745,11.3779620129072,11.258701794605,11.3251423822125,11.4314534004453,11.3520588352469,11.4317791640635,11.4852448588714,11.2597672774785,11.3394554842346,11.4722784160249,11.2335649584159,11.4065253608375,11.3537540403315,11.3803043428989,11.4334063123267,11.473233958788,11.3142749480049,11.3146203214315,11.3411608649286,11.3677018740557,11.3547697738641,11.2887796983665,11.3949065661167,11.4214394305011,11.2360777002127,11.3156557342378,11.3554463515748,11.2762178646186,11.3030866391017,11.3428633354318,11.4360039746388,11.3435435104476
#> 
#> MeteoStationLatitude=47.483,47.4779,47.603,47.421,47.4287,47.6279,47.599968102384,47.5833028313871,47.5723023315313,47.5727588389045,47.561662016664,47.5628453912151,47.5646588053583,47.5543136000829,47.5556642026621,47.5475390773562,47.5346796816327,47.5360943979933,47.5383292648426,47.5252017491415,47.519241882929,47.5093414894332,47.5097974561183,47.5106909492241,47.5113449332121,47.4996516636956,47.4906572976733,47.4911223266521,47.4915812112448,47.4823580384994,47.4721975076886,47.4740447090616,47.4744911532385,47.46224288692,47.4636741116175,47.4643689980017,47.4539711037338,47.4454506298559,47.4461498853911,47.4387329655291,47.4281608114964
#> 
#> MeteoStationCode=DWD_historical_01550,DWD_historical_03307,DWD_historical_03677,DWD_historical_05792,DWD_historical_06103,DWD_historical_06257,AT_INCA_1KM_NODE_0005,AT_INCA_1KM_NODE_0027,AT_INCA_1KM_NODE_0034,AT_INCA_1KM_NODE_0035,AT_INCA_1KM_NODE_0041,AT_INCA_1KM_NODE_0042,AT_INCA_1KM_NODE_0044,AT_INCA_1KM_NODE_0050,AT_INCA_1KM_NODE_0052,AT_INCA_1KM_NODE_0063,AT_INCA_1KM_NODE_0066,AT_INCA_1KM_NODE_0070,AT_INCA_1KM_NODE_0075,AT_INCA_1KM_NODE_0078,AT_INCA_1KM_NODE_0099,AT_INCA_1KM_NODE_0110,AT_INCA_1KM_NODE_0112,AT_INCA_1KM_NODE_0116,AT_INCA_1KM_NODE_0117,AT_INCA_1KM_NODE_0122,AT_INCA_1KM_NODE_0137,AT_INCA_1KM_NODE_0138,AT_INCA_1KM_NODE_0140,AT_INCA_1KM_NODE_0148,AT_INCA_1KM_NODE_0158,AT_INCA_1KM_NODE_0164,AT_INCA_1KM_NODE_0166,AT_INCA_1KM_NODE_0169,AT_INCA_1KM_NODE_0174,AT_INCA_1KM_NODE_0177,AT_INCA_1KM_NODE_0185,AT_INCA_1KM_NODE_0196,AT_INCA_1KM_NODE_0198,AT_INCA_1KM_NODE_0204,AT_INCA_1KM_NODE_0206
#> 
#> MeteoStationLocalCode=1550,3307,3677,5792,6103,6257,AT_INCA_1KM_NODE_0005,AT_INCA_1KM_NODE_0027,AT_INCA_1KM_NODE_0034,AT_INCA_1KM_NODE_0035,AT_INCA_1KM_NODE_0041,AT_INCA_1KM_NODE_0042,AT_INCA_1KM_NODE_0044,AT_INCA_1KM_NODE_0050,AT_INCA_1KM_NODE_0052,AT_INCA_1KM_NODE_0063,AT_INCA_1KM_NODE_0066,AT_INCA_1KM_NODE_0070,AT_INCA_1KM_NODE_0075,AT_INCA_1KM_NODE_0078,AT_INCA_1KM_NODE_0099,AT_INCA_1KM_NODE_0110,AT_INCA_1KM_NODE_0112,AT_INCA_1KM_NODE_0116,AT_INCA_1KM_NODE_0117,AT_INCA_1KM_NODE_0122,AT_INCA_1KM_NODE_0137,AT_INCA_1KM_NODE_0138,AT_INCA_1KM_NODE_0140,AT_INCA_1KM_NODE_0148,AT_INCA_1KM_NODE_0158,AT_INCA_1KM_NODE_0164,AT_INCA_1KM_NODE_0166,AT_INCA_1KM_NODE_0169,AT_INCA_1KM_NODE_0174,AT_INCA_1KM_NODE_0177,AT_INCA_1KM_NODE_0185,AT_INCA_1KM_NODE_0196,AT_INCA_1KM_NODE_0198,AT_INCA_1KM_NODE_0204,AT_INCA_1KM_NODE_0206
#> 
#> MeteoStationSource=DWD,DWD,DWD,DWD,DWD,DWD,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM,AT_INCA_1KM
#> 
#> MeteoStationName=Garmisch-Partenkirchen,Mittenwald-Buckelwiesen,Oberammergau,Zugspitze,Mittenwald/Obb.,Jachenau-Tannern,AT_INCA_1KM_NODE_0005,AT_INCA_1KM_NODE_0027,AT_INCA_1KM_NODE_0034,AT_INCA_1KM_NODE_0035,AT_INCA_1KM_NODE_0041,AT_INCA_1KM_NODE_0042,AT_INCA_1KM_NODE_0044,AT_INCA_1KM_NODE_0050,AT_INCA_1KM_NODE_0052,AT_INCA_1KM_NODE_0063,AT_INCA_1KM_NODE_0066,AT_INCA_1KM_NODE_0070,AT_INCA_1KM_NODE_0075,AT_INCA_1KM_NODE_0078,AT_INCA_1KM_NODE_0099,AT_INCA_1KM_NODE_0110,AT_INCA_1KM_NODE_0112,AT_INCA_1KM_NODE_0116,AT_INCA_1KM_NODE_0117,AT_INCA_1KM_NODE_0122,AT_INCA_1KM_NODE_0137,AT_INCA_1KM_NODE_0138,AT_INCA_1KM_NODE_0140,AT_INCA_1KM_NODE_0148,AT_INCA_1KM_NODE_0158,AT_INCA_1KM_NODE_0164,AT_INCA_1KM_NODE_0166,AT_INCA_1KM_NODE_0169,AT_INCA_1KM_NODE_0174,AT_INCA_1KM_NODE_0177,AT_INCA_1KM_NODE_0185,AT_INCA_1KM_NODE_0196,AT_INCA_1KM_NODE_0198,AT_INCA_1KM_NODE_0204,AT_INCA_1KM_NODE_0206
#> 
#> MeteoStationLatitude=47.483,47.4779,47.603,47.421,47.4287,47.6279,47.5999681023841,47.5833028313871,47.5723023315313,47.5727588389045,47.5616620166639,47.5628453912151,47.5646588053583,47.5543136000829,47.5556642026621,47.5475390773562,47.5346796816326,47.5360943979933,47.5383292648426,47.5252017491415,47.5192418829291,47.5093414894331,47.5097974561183,47.5106909492241,47.5113449332121,47.4996516636956,47.4906572976734,47.4911223266521,47.4915812112448,47.4823580384994,47.4721975076886,47.4740447090616,47.4744911532385,47.46224288692,47.4636741116175,47.4643689980017,47.4539711037338,47.4454506298558,47.4461498853911,47.4387329655291,47.4281608114964
#> 
#> MeteoStationLongitude=11.0621,11.2653,11.0607,10.9848,11.2616,11.5166,11.390254466796,11.470683664822,11.3513799412745,11.3779620129072,11.258701794605,11.3251423822125,11.4314534004453,11.3520588352469,11.4317791640635,11.4852448588714,11.2597672774785,11.3394554842346,11.4722784160249,11.2335649584159,11.4065253608375,11.3537540403315,11.3803043428989,11.4334063123267,11.473233958788,11.3142749480049,11.3146203214315,11.3411608649286,11.3677018740557,11.3547697738641,11.2887796983665,11.3949065661167,11.4214394305011,11.2360777002127,11.3156557342378,11.3554463515747,11.2762178646186,11.3030866391017,11.3428633354318,11.4360039746388,11.3435435104476
#> 
#> MeteoStationElevation=719,984,832,2956,923,723,1146,1412,819,1035,1651,1012,1219,1259,790,1492,1268,827,1615,1334,1423,1250,1288,1016,1703,1595,1872,1617,1983,2038,977,1483,1663,1140,1648,1452,908,1262,2137,2101,1200
#> 
#> NumberOfMeteoStations=41