- 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
-
- 08 Aug, 2016 2 commits
-
-
Mathias Bavay authored
The "<" and ">" operators have been defined for MeteoData in order to make it easier to sort vectors of MeteoData. The FULL_MERGE merging strategy has been implemented alongside with some code cleanup/restructuring and some code optimizations.
-
Mathias Bavay authored
When merging data from different stations, it is now possible to specify (with the Input::MERGE_STRATEGY key) how the merge should be done. The FULL_MERGE is currently not implemented.
-
- 03 Aug, 2016 1 commit
-
-
Mathias Bavay authored
An error message when a smet file misses its epsg ocde and/or altitude as been improved. The MERGE example has been improved in order to be clearer. A bug in the append mode of smet files has been fixed (possibility of a duplicate timestamp).
-
- 02 Aug, 2016 2 commits
-
-
Mathias Bavay authored
Now the last timestamp in a SMET file can be compared to the data that should be appended in order to decide if the file should be truncated or not
-
Mathias Bavay authored
This is the first version of an append feature for SMET files. Not all the case might be well handled but at least, it starts to work... (with more optimizations to come)
-
- 28 Jul, 2016 1 commit
-
-
Mathias Bavay authored
Better error handling for the GSN plugin as well as forcing the station_id to lowercase when building the URL (so instead of a cryptic GSN error message, it just works)
-
- 22 Jul, 2016 5 commits
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Last changes to support the Cray compiler. Please note that for Cray, you most probably have to compile with static linking!
-
-
Mathias Bavay authored
-
Mathias Bavay authored
Trying to make the CMakeLists clearer and more modular: the compiler options are now set through a macro that will be shared with the other projects. New targets appeared: Intel and Cray, but this is still a work in progress.
-
- 21 Jul, 2016 1 commit
-
-
Mathias Bavay authored
-