WSL/SLF GitLab Repository

Commit 53a6c79e authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Fixed an initialization bug that always tried to setup downscaling... Slightly...

Fixed an initialization bug that always tried to setup downscaling... Slightly better documentation about exploring the parameters of a NetCDF file.
parent c748b24d
......@@ -33,9 +33,9 @@ Meteo2DInterpolator::Meteo2DInterpolator(const Config& i_cfg, TimeSeriesManager&
grid_buffer.setMaxGrids(max_grids);
setAlgorithms();
bool virtual_stations; ///< compute the meteo values at virtual stations
bool virtual_stations = false; ///< compute the meteo values at virtual stations
cfg.getValue("Virtual_stations", "Input", virtual_stations, IOUtils::nothrow);
bool downscaling; ///< Are we downscaling meteo grids instead of interpolating stations' data?
bool downscaling = false; ///< Are we downscaling meteo grids instead of interpolating stations' data?
cfg.getValue("Downscaling", "Input", downscaling, IOUtils::nothrow);
if (virtual_stations || downscaling) {
initVirtualStations();
......
......@@ -40,7 +40,10 @@ namespace mio {
* <A HREF="http://www.unidata.ucar.edu/downloads/netcdf/index.jsp">NetCDF software</A> was developed
* at the <A HREF="http://www.unidata.ucar.edu/">Unidata Program Center</A> in Boulder, Colorado.
* In order to graphicaly explore the content and structure of NetCDF files, you can use the
* <A HREF="http://www.epic.noaa.gov/java/ncBrowse/">ncBrowse</A> java software.
* <A HREF="http://www.epic.noaa.gov/java/ncBrowse/">ncBrowse</A> java software or
* <A HREF="http://meteora.ucsd.edu/~pierce/ncview_home_page.html">ncview</A>. It is also possible to run *ncdump* on a given
* file in order to have a look at its structure (such as *ncdump {my_netcdf_file} | more*) and specially the parameters names
* (this is useful if remapping is needed, see below for in the \ref netcdf_keywords "keywords" section).
*
* The NetCDF format does not impose a specific set of metadata and therefore in order to easily exchange data
* within a given field, it is a good idea to standardize the metadata. Several such metadata schema can be used
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment