Changes between Version 8 and Version 9 of EcomsUdg/RPackage/Functions


Ignore:
Timestamp:
Apr 29, 2013 6:47:22 PM (9 years ago)
Author:
juaco
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • EcomsUdg/RPackage/Functions

    v8 v9  
    11'''__1. ncmlAggreg.R__'''
    22
    3 A NcML file is a [http://en.wikipedia.org/wiki/XML XML representation] of netCDF metadata. This is approximately the same information one gets when dumping the header of a netCDF file (e.g. by typing on the terminal the command `ncdump -h`). By means of NcML it is possible to create virtual datasets by modifying and [http://www.unidata.ucar.edu/software/netcdf/ncml/v2.2/Aggregation.html aggregating] other datasets, thus providing maximum flexibility and ease of access to data stored in collections of files containing data from different variables/time slices, as far as all data are queried from a single NcML representation of the dataset. NcML files are the basis on which the different R functions here described are based on.
     3A NcML file is a [http://en.wikipedia.org/wiki/XML XML representation] of netCDF metadata. This is approximately the same information one gets when dumping the header of a netCDF file (e.g. by typing on the terminal the command `ncdump -h`). By means of NcML it is possible to create virtual datasets by modifying and [http://www.unidata.ucar.edu/software/netcdf/ncml/v2.2/Aggregation.html aggregating] other datasets, thus providing maximum flexibility and ease of access to data stored in collections of files containing data from different variables/time slices, as far as all data are queried from a single NcML representation of the dataset. The function is intended to deal with reanalysis, forecasts and other climate data products, often consisting of collections of netCDF files corresponding to different variables and partitioned by years/decades or other time slices.
     4
     5NcML files are the basis on which the different R functions here described are based on.
    46
    57The `ncmlAggreg.R` function generates a NcML file from a collection of netCDF or GRIB files stored in a common directory. The function is called as follows:
     
    1618
    1719The output is a NcML file named as `file.name` which will be stored in the `output.dir`.
     20
     21''__Details__:''
     22
     23* All files of the same dataset should be put together in the same directory, indicated by the `source.dir` argument.
     24* Currently the function has been only tested for netCDF (.nc) files, although GRIB files will be included in next versions.
     25* Note that the `output.dir` should be writable in order to create the ncml file.
     26* A number of useful recommendations regarding dataset naming are provided [http://www.unidata.ucar.edu/software/netcdf-java/reference/DatasetUrls.html#NcmlScan here]
    1827
    1928'''__2. dataInventory.R__'''