435 | | There are several options for spatial selection using the 'loadData` function. For instance, if we want the whole domain of teh dataset () |
436 | | |
437 | | |
| 435 | There are several options for spatial selection using the `loadData` function. For instance, if we want the whole domain of the dataset, there is no need for specifying the `lonLim` and `latLim` arguments. In the next example, we will load T850 for the whole Iberian Peninsula for the period 1990-1999. |
| 436 | |
| 437 | {{{ |
| 438 | > t850 <- loadData(dataset="Iberia_NCEP_dataset.ncml", var="T", level=850, startDate = "1990-01-01", endDate = "1999-12-31") |
| 439 | > str(t850) |
| 440 | List of 5 |
| 441 | $ VarName : chr "T" |
| 442 | $ Level : num 850 |
| 443 | $ Dates : POSIXlt[1:3652], format: "1990-01-01" "1990-01-02" "1990-01-03" "1990-01-04" ... |
| 444 | $ LatLonCoords: num [1:54, 1:2] 35 37.5 40 42.5 45 47.5 35 37.5 40 42.5 ... |
| 445 | ..- attr(*, "dimnames")=List of 2 |
| 446 | .. ..$ : NULL |
| 447 | .. ..$ : chr [1:2] "lat" "lon" |
| 448 | $ Data : num [1:3652, 1:54] 278 276 276 278 279 ... |
| 449 | |
| 450 | }}} |
| 451 | |
| 452 | |
| 453 | The matrix in the `Data` element of the returned list contains a matrix with 54 columns, one for each grid point of the dataset, and 3652 rows, corresponding to the daily time series. |