% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sample_data_st.R
\docType{data}
\name{lonlat_prec_st}
\alias{lonlat_prec_st}
\title{Sample Of Experimental Precipitation Data In Function Of Longitudes And Latitudes with Start}
\description{
This sample data set contains a small cutout of gridded seasonal precipitation
forecast data from the Copernicus Climate Change ECMWF-System 5 forecast 
system, to be used to demonstrate downscaling. Specifically, for the 'pr' 
(precipitation) variable, for the first 6 forecast ensemble members, daily
values, for all 31 days in March following the forecast starting dates in 
November of years 2010 to 2012, for a small 4x4 pixel cutout in a region in
the North-Western Italian Alps (44N-47N, 6E-9E). The data resolution is 1 
degree.
}
\details{
The `CST_Start` call used to generate the data set in the infrastructure of 
the Marconi machine at CINECA is shown next, working on files which were 
extracted from forecast data available in the MEDSCOPE internal archive.

\preformatted{
 library(startR)
 sdates = c('20101101', '20111101', '20121101')
 latmin <- 44
 latmax <- 47
 lonmin <- 6
 lonmax <- 9

 lonlat_prec_st <- CST_Start(dat = path,
                             var = 'prlr',
                             ensemble = indices(1:6),
                             sdate = sdates,
                             time = 121:151,
                             latitude = values(list(latmin, latmax)),
                             latitude_reorder = Sort(decreasing = TRUE),
                             longitude = values(list(lonmin, lonmax)),
                             longitude_reorder = CircularSort(0, 360),
                             synonims = list(longitude = c('lon', 'longitude'),
                                             latitude = c('lat', 'latitude')),
                             return_vars = list(time = 'sdate',
                                                longitude = NULL, latitude = NULL),
                             retrieve = TRUE
                             )
}
}
\author{
Jost von Hardenberg \email{j.vonhardenberg@isac.cnr.it}

An-Chi Ho \email{an.ho@bsc.es}
}
\keyword{data}
