- 22 Sep, 2016 1 commit
-
-
Mathias Bavay authored
Several bugs have been found in the FULL_MERGE merging strategy. Merging half-hourly data into a vector of 3 hours data was not working at all, now it should work!
-
- 21 Sep, 2016 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
The getPointsBetween() methods have been removed from DEMObject since they were not really used and not really reliable either... Instead the sky view factor has been implemented in getCellSkyViewFactor()
-
- 16 Sep, 2016 2 commits
-
-
Mathias Bavay authored
requiring cmake>2.8.4 in order to prevent a (quite intrusive) warning under cygwin (this means that debian>=squeeze should have a proper version, ie distributions after 02.2011).
-
Mathias Bavay authored
Small optimization when computing wind interpolations (optimized sqrt), updated 2D_interpolations reference tests and added an error message explaining that the RH algorithm has been renamed.
-
- 15 Sep, 2016 1 commit
-
-
Mathias Bavay authored
Last large restructuring (for the moment): now the spatial interpolations have been put in their own subdirectory. The "RH" interpolation has been renamed as "LISTON_RH" for clarity.
-
- 14 Sep, 2016 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-
- 13 Sep, 2016 1 commit
-
-
Mathias Bavay authored
Yesterday's commit was breaking some of the includes. This has been fixed, the documentation updated and the install/cleanup commands for cmake updated
-
- 12 Sep, 2016 3 commits
-
-
Mathias Bavay authored
In order to make it easier and cleaner to develop new data generators, they have been restructured into a dataGenerators directory and an individual cc file for each data generator. A template has been created to help in creating new data generators.
-
Mathias Bavay authored
Fixed a small issue in the Solar resampling (using the radiation threshold). Improvements to CNRMIO because the radiation was in the wrong field...
-
Mathias Bavay authored
Small optimization into Sun: if setting the lat/lon to the same values as internally stored, nothing is changed (so it does not costs anything). The CNRMIO pluggin has been changed by removing the grids support (this should be performed by the generic NetCDF plugin) and adding what is necessary for Crocus to be able to use the generated meteo time series.
-
- 08 Sep, 2016 2 commits
-
-
Mathias Bavay authored
Adding uref and zref as well as coding time as number of seconds since a reference time (start of the day of the first data point) in order to satisfy CNRM's requirements
-
Mathias Bavay authored
A small optimization has been added for the + and * arrays operators (+0 or *1 does not have to be computed!). Code cleanup in CNRMIO.
-
- 07 Sep, 2016 1 commit
-
-
Mathias Bavay authored
Code cleanup on PSQLIO: proper credits and removing the EXCLUDE that has been replaced by EXCLUDE statements in IOHandler
-
- 05 Sep, 2016 1 commit
-
-
Mathias Bavay authored
-
- 02 Sep, 2016 1 commit
-
-
Mathias Bavay authored
Fixed two bugs: one member of DEMObject was not properly serialized (for MPI) and the CNRM plugin was not properly declared.
-
- 31 Aug, 2016 1 commit
-
-
Mathias Bavay authored
-
- 26 Aug, 2016 2 commits
-
-
Mathias Bavay authored
There was a problem when opening a new smet file in APPEND mode: only the last data line was written. This should now work as expected.
-
Mathias Bavay authored
More robust memory allocation in data_converter (as well as simpler), better handling of larger header sections in smet_range and improved error messages in IOUtils and IOHandler
-
- 25 Aug, 2016 1 commit
-
-
Mathias Bavay authored
When users copy a system doc/examples directory, they need the FindMeteoIO.cmake script in order to compile the examples...
-
- 24 Aug, 2016 1 commit
-
-
Mathias Bavay authored
For convenience, the "size()" method has been defined. It returns the allocated number of element so it can be used when iterating over all the cells of an array/grid.
-
- 23 Aug, 2016 5 commits
-
-
Mathias Bavay authored
When using IDW_Lapse, a basic check is performed on the arguments in order to evaluate the rating: if less than 2 stations can provide a given parameter and no lapse rate is provided, the rating is set to zero. Otherwise, code cleanup.
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
-
Mathias Bavay authored
In SunObject, when deciding if it is day or night, a radiation threshold has been setup instead of just zero. The smet_range script provides more consistent formatting for stations that don't have a given parameter. The IswrAlbedo generator now only uses stations that have HS except if provided with the "FORCE" argument. Three serious bugs have been fixed in the SWRad spatial interpolation algorithm: the vector of usable stations is now reset at each timestep, the direct radiation is now properly computed and the julian date for the sun is set in GMT. A new MOVE directive has been introduce in order to rename meteo parameters. This is processed before any other directive and could be very useful to handle for improperly named parameters (for example coming from GSN).
-
- 22 Aug, 2016 4 commits
-
-
Mathias Bavay authored
The code for handling COPY directives was very old and quite different from the code for handling KEEP or EXCLUDE directives. It has been re-written to follow the same principles as KEEP/EXCLUDE.
-
Mathias Bavay authored
Some code restructuring (moving a method from AllSkyLW_Generator to TauCLDGenerator) so the TAU_CLD generator can now generate solar index values by comparing the measured ISWR to the potential radiation. Moreover, when using a CLD parameter, it must now be between 0 and 8 instead of 0 and 1.
-
Mathias Bavay authored
-
Mathias Bavay authored
The SMET plugin was not consistent with the specification: when no time zone was provided, it should have assume tz=0 but it used the Input::Time_Zone value instead. This has been changed so it properly follows the specification: no time zone -> gmt. When writing data out, the time zone will now always be written.
-
- 19 Aug, 2016 1 commit
-
-
Mathias Bavay authored
The STD_PRESS spatial interpolation algorithm has been extended and can now deal with multiple input stations (with 2 different methods for handling this case). The Imis plugin now reads the air pressure and convert it to station air pressure (instead of sea level). Otherwise, improved error messages in libsmet and documentation / minor code cleanup.
-
- 18 Aug, 2016 1 commit
-
-
Mathias Bavay authored
A new method for the spatial interpolations of ISWR has been implemented. Helper methods have been implemented in SunObject and DEMObject (possibility to reset the altitude without recomputing the whole solar position, horizon computation from one point toward a given direction). The smet_extract script now writes its output to stdout instead of to a file since the previous behavior was mostly an anoyance...
-
- 17 Aug, 2016 1 commit
-
-
Mathias Bavay authored
A little bit of includes cleanup, code cleanup in Sun.cc and added the atmospheric corrections logic (from Alpine3D) to the Sun object so it can easily be reused.
-
- 15 Aug, 2016 3 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
A new parameter ENABLE_RESAMPLING has been added in the [Interpolations1D] section. It is now possible to globally turn resampling off...
-
Mathias Bavay authored
The MERGE feature was still quite buggy, this should now work much better (ie properly handling the "extra" parameters). A warning has been fixed in libsmet. Better handling of julian_date in smet_extract (converting to ISO timestamp in the output).
-
- 10 Aug, 2016 1 commit
-
-
Mathias Bavay authored
-
- 09 Aug, 2016 2 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
-