Load multiple WRF (or nuWRF) original output files containing 2D fields such as precipitation and surface variables into a Dataset. The dataset can be spatially subset. :param file_path: Directory to the NetCDF file to load. :type file_path: string :param filename_pattern: Path to the NetCDF file to load. :type filename_pattern: :list:`string` :param variable_name: The variable name to load from the NetCDF file. :type variable_name: string :param name: (Optional) A name for the loaded dataset. :type name: string :returns: An OCW Dataset object with the requested variable’s data from
the NetCDF file.
Return type: | dataset.Dataset |
---|---|
Raises ValueError: | |
Load a NetCDF file into a Dataset.
Parameters: |
|
---|---|
Returns: | An OCW Dataset object with the requested variable’s data from the NetCDF file. |
Return type: | |
Raises ValueError: | |
When the specified file path cannot be loaded by ndfCDF4 or when the lat/lon/time variable name cannot be determined automatically. |
load multiple netcdf files with common filename pattern and return an array of OCW datasets
Parameters: |
|
---|---|
Returns: | An array of OCW Dataset objects, an array of dataset names |
Return type: |
Get the metadata of all parameter from RCMED.
Returns: | Dictionary of information for each parameter stored in one list |
---|---|
Return type: | list of dict |
Get data from one database(parameter).
Parameters: |
|
---|---|
Returns: | An OCW Dataset object contained the requested data from RCMED. |
Return type: |
Load a Dataset from an OpenDAP URL
Parameters: | |
---|---|
Returns: | A dataset.Dataset containing the dataset pointed to by the OpenDAP URL. |
Raises: | ServerError |
Load an ESGF dataset.
Parameters: |
|
---|---|
Returns: | A list of dataset.Dataset contained the requested dataset. If the dataset is stored in multiple files each will be loaded into a separate dataset.Dataset. |
Raises ValueError: | |
If no dataset can be found for the supplied ID and variable, or if the requested dataset is a multi-file dataset. |