![]() |
|||||||||||||||
|
|||||||||||||||
|
|||||||||||||||
|
This page contains basic information on how to use and about the content of the THREDDS server. More information is available in the ECMWF Newsletter number 113 and 114. NetCDF CF conventionsThe dissemination of s2d hindcasts using a THREDDS server requires a unified framework for product standardisation to provide a coherent service. The standardisation has been achieved by providing rules to encode multi-forecast system ensemble hindcasts in CF-compliant NetCDF files. This is the first time such an attempt has been undertaken. A document submitted for discussion to the CF group describes the structure of the metadata to be used with special emphasis on the dimensions of the file and the coordinate variables that describe the way the ensemble has been generated. Operational requirements have been taken into account at the time of designing the structure. These rules are expected to be approved by the CF group, following the discussions carried out in recent months (follow the threads "CF and multi-forecast system ensemble data", "CF and multi-forecast -- provisional standards" and "Getting back to ensembles"). It is expected that multi-forecast system simulations carried out at monthly, seasonal, interannual and centennial time scales will be encoded in the future following similar guidelines. A second document lists the standard names of the variables as required by the CF convention, along with short names (as used by PCMDI to disseminate the IPCC data) for identifying the physical variables. Access and use of the dataOPeNDAP offers access to the dataset in an interoperable manner from client applications. Familiar data analysis and visualization applications can be used as clients: IDL, Matlab, Ferret, NetCDF operators, etc. OPeNDAP allows a client or script run remotely to request any subset of the dataset. Data download Data in CF-compliant NetCDF files can be easily retrieved using the NCO operator ncks. For instance, to obtain a certain number of ensemble members, time steps and levels from the DEMETER monthly mean data use
Bear in mind that you need to compile NCO to make it OPeNDAP-enabled. Follow these suggestions:
NCO also allows numerical operations on the dataset, so that the client can retrieve transformed data. Note that if some coordinate variables are missing in the resulting NetCDF file, the download can be forced by adding them after the -v option. This is always the case with the "time_bnd" variable used to define cell_methods in the time dimension. Given that the structure of the original NetCDF files is new, some difficulties with particular software may appear. In particular, the NCO feature stride that allows to subsample the variables along specific dimensions does not properly work with the dimension "time" in the forecasts (something similar happens with the direct access to the fields through the "DODS Data Access Form" web page where subsets of a given variable can be selected). In other words, the request
that intends to extract the geopotential fields for the second month of each year's first forecast (the one started on the first of February) corresponding to the first ensemble member of the DEMETER multi-model will not provide the correct data. This is because in the forecasts, the time dimension has two coordinate variables associated: "reftime" and "leadtime". Both of them identify a specific lead time for a specific forecast. However, there is not a monotonic variable named "time" because the THREDDS is expected to concatenate additional forecasts (for either past or future start dates) or lead times at any time, which would make impossible the management of a hardcoded monotonic variable. The "ensemble" dimension shows a similar problem for being non-monotonic. There are two ways in NCO (no solution has been found for the DODS Data Access Form though) to extract data subsampling the time dimension:
File examples We have prepared some examples of multi-model ensemble NetCDF files. The first file (1.47 Mb) contains two monthly means of air temperature in three pressure levels. There is global data of ensemble hindcasts initialized the first of May 2001 for the members 1, 4 and 7 of the models IFS/HOPE and GloSea. We used the following NCO command:
As explained above, NCO has problems to use strides with the ensemble dimension. This is the reason why the request explicitly identifies the ensemble members to retrieve. Note in the NetCDF headers the way to indicate the range of the monthly means (using the variable "time_bnd") and the additional headers that identify the ensemble members and the forecast systems using the variables "realization", "experiment_id", "institution" and "source". A second file (1.47 Mb) contains daily values of accumulated precipitation for several members of five different forecast systems. Note the way the type of accumulation has been indicated in the variable "leadtime" using cell_methods . Visualization Visualization can be carried out by either using the NetCDF/Java tool provided with OPeNDAP. The applications ncBrowse and ODC (OPeNDAP Data Connector) offer several tools to display and handle the data. Note, however, that the user is supposed to install them locally. |
||||||||||||||
|
|
||||||||||||||