- 04 Sep, 2014 1 commit
-
-
Mathias Bavay authored
PINT is now properly supported in SMET. The OLWR/TSS conversion must now be handled by a data generator (implemented as "TS_OLWR"). A bug in the Coords documentation has been fixed.
-
- 22 Aug, 2014 1 commit
-
-
Mathias Bavay authored
Adding a new meteo parameter: the cloud transmissivity TAU_CLD defined as iswr_meas / iswr_clear_sky (ie the potential radiation computed at ground level with a standard atmosphere, see Iqbal 1983). This parameter is already used by the AllSky_LW and PotRad generators and properly handled by the PNG plugin. The PNG plugin can now also properly output a hillshade (as MeteoGrids::SHADE).
-
- 12 Aug, 2014 1 commit
-
-
Mathias Bavay authored
better file structure: all the classes purely focused on data storage (such as grids, dates, etc) have been moved into a "dataClasses" directory. All subdirectories are nhow named similarly to the classes and methods: the words after the first one are capitalized.
-
- 29 May, 2014 1 commit
-
-
Mathias Bavay authored
The Winstral spatial interpolation algorithm is getting into shape: all three modes of operation have been implemented and tested and it is now properly documented. A new data generator has been created that computes a relative humidity from either a dew point temperature or a specific humidity. Adding a "check_attribute" to libncpp.
-
- 28 Apr, 2014 1 commit
-
-
Mathias Bavay authored
Several bugs have been fixed: in the AllSky generator, the cloudiness was still forced to 0.5 (as for debug). The data creators were also called *after* the generators, thus making it impossible to used a created data in a generator. The placeholders have been put in place (but commented out) for the cloudiness/tau_cloud/clearness index support in MeteoData. It seems that Kt=clearness index might be the proper way to go, but this is still a messy field. Some comments have been added in the code to clarify the use of such parameters.
-
- 22 Apr, 2014 2 commits
-
-
Mathias Bavay authored
The Idso clear sky ILWR has been added (and also added to the clear sky generator). Some (dead) code that was committed by mistake has been removed and the very begining of what will be needed for data creators put in place (still some way to go!).
-
Mathias Bavay authored
The ClearSky and AllSky generators have been renamed as ClearSky_LW and AllSky_LW for clarity. The debug outputs (.toString()) have been improved. The Config::findKey method is now able to do pattern matching anywhere in the string (if "anywhere=true"). This makes some code simpler (for generators). The parameter copy feature has a new syntax: TA2::COPY = TA will copy TA into TA2 (clearer and more consistent). Please update your ini files if necessary!
-
- 07 Apr, 2014 1 commit
-
-
Mathias Bavay authored
Two extra clear sky parametrizations have been added, including one for desert conditions. They are available to the ClearSky generator. Small code and documentation cleanup.
-
- 18 Mar, 2014 2 commits
-
-
Mathias Bavay authored
Finally, the AllSky data generator is in good shape. It properly caches the previous valid cloudiness value for each station, a bug in the cloudiness calculation has been found (for low sun angles)and the documentation is now in order. We just need to get a cloudiness parameter in MeteoData in order to also be able to read measured cloudiness!
-
Mathias Bavay authored
More improvements to the AllSky data generator: it now computes the cloudiness if none is provided. Another improvement will have to be brought for working with multiple stations as well as adding the cloud fraction to the MeteoData parameters! (ie: stay tuned!)
-
- 17 Mar, 2014 1 commit
-
-
Mathias Bavay authored
Since the number of clear or all sky parametrizations seem to multiply, two generic generators have been implemented: clearsky and allsky that take as argument which parametrization to use. Therefore the old Brutsaert or Dilley have been removed. The Unsworth should follow at some point, after we will have added the cloud fraction as a meteo parameter and found a way to also specifiy a parametrization for clear_sky_index <-> cloudiness that could be used by the all sky generators. Moving code around in Atmosphere (to keep the clear sky parametrizations together).
-
- 13 Mar, 2014 1 commit
-
-
Mathias Bavay authored
Added a Dilley clear sky generator. The Unsworth does not provide clear sky as a fallback anymore, this has to be configured by the user (so the user can choose which fallback to enable).
-
- 03 Feb, 2014 1 commit
-
-
Mathias Bavay authored
The two arguments accumulate resampling algorithm has been removed. The distribute filter should be used instead. The missing files are now committed.
-
- 29 Jan, 2014 1 commit
-
-
Mathias Bavay authored
A little more cleanup (constification, mostly) in GSNIO as well as documentation. Updated the example io.ini. And a new data generator: Brutsaert for clear sky ILWR.
-
- 13 Dec, 2013 1 commit
-
-
Mathias Bavay authored
Two new undercatch corrections have been implemented: for the Chinese Standard Precipitation Gauge and for the shielded Geonor gauge. A documentation bug has been fixed in GeneratorAlgorithms. Some warnings and white spaces have been fixed in GeneratorAlgorithms.
-
- 06 Dec, 2013 1 commit
-
-
Mathias Bavay authored
A small bug has been found in the Unsworth generator (when iswr>0 && rswr==0, this was leading to a division by 0). A suppression filter has been implemented (it simply deletes all the data for a given parameter).
-
- 25 Nov, 2013 1 commit
-
-
Mathias Bavay authored
Finally! Handling precipitation redistribution before re-accumulation (ie the 24 hours sums provided in an otherwise hourly data file) now works with non-uniform timesteps. This introduced some runtime performance hit (~10% slower) but better accomodate the needs of our users!
-
- 21 Nov, 2013 1 commit
-
-
Mathias Bavay authored
Finally, it is now posible to handle precipitation data provided as 24 hours sums in an hourly data file and resample them as 15 minutes sums. The limitations are: no time offset between the requested sampling period and the measured accumulation period; only constant sampling in the data file (ie no variations in the sampling period in the data file).
-
- 13 Nov, 2013 1 commit
-
-
Mathias Bavay authored
The potential radiation generator had a bug when generating data without any ISWR nor RSWR. The sunrise and sunset calculations in Suntrajectory where actually not in GMT as advertised.
-
- 28 Oct, 2013 2 commits
-
-
Mathias Bavay authored
a little bit of cleanup in the new HS_SWE data generator (still a work in progress, so it is willingly NOT documented)
-
Mathias Bavay authored
The filters have been slightly simplified, some IOUtils functions optimized (after reading an interesting post about the handling of rvalues), a bug fixed in PNGIO on Windows, the macros MAX and MIN are not used anymore (relying on std::max and std::min instead). A new data generator is on its way to generate HNW from HS differences (but this will require architectural changes to the DataGenerator).
-
- 05 Oct, 2013 1 commit
-
-
Mathias Bavay authored
Fixing some warnings for Visual C++ and also using ostringstream instead of stringstream when appropriate
-
- 26 Aug, 2013 1 commit
-
-
Mathias Bavay authored
The Config class now has a method getValues() to retrieve in a vector of type T all values whose keys match a given pattern. This makes it possible to retrieve in one call all the Input::STATIONx values even in the case of discontinuous numbering (issue 341) as well as easily get the number of stations declared in io.ini (issue 220). This number of stations is not guaranteed to work (since some plugins don't list the input stations in io.ini) but should guide memory allocation in user code anyway. A reference has been fixed in Suntrajectory, redundant errort checking has been removed from GeneratorAlgorithms.
-
- 14 Jun, 2013 1 commit
-
-
Mathias Bavay authored
The default ilwr model in Atmosphere as been changed to Unsworth. The fixed snow albedo has been set to 0.85 for all filters/generators using it. The Config class can now import an ini file from another ini file, this could greatly simplify the management of operational deployments (a station that has a special configuration now can simply import a standard config file and redefine what it needs). This is either done with IMPORT_BEFORE or IMPORT_AFTER in order to choose who has precedence. Multiple (ie recursive) inclusions are supported with some enforced limitations to prevent circular dependencies.
-
- 05 Jun, 2013 1 commit
-
-
Mathias Bavay authored
The exceptions were not printed with a line return anymore, messing up the display. A function to extract the integral and the fractional part of a double has been added. The julian day number calculation (ie how many days since the begining of the year) was numericaly instable (leading to wrong values in an unpredictable way). A data generator that can generate sinusoidal values (for daily or yearly periods) has been added. The potential radiation generator can now handle missing TA and/or RH (of course, reverting to a very simplistic clear sky model, assuming an average reduced precipitable water).
-
- 25 May, 2013 1 commit
-
-
Mathias Bavay authored
-
- 23 May, 2013 1 commit
-
-
Mathias Bavay authored
The Unsworth parametrization for ILWR has been fixed and now works as data generator. Some comments have been added to Sun.cc.
-
- 22 May, 2013 1 commit
-
-
Mathias Bavay authored
The graphical message box for exceptions has been turned off by default, because it was interfering with cdash. Packagers are therefore invited to turn it ON for public packages (since this tends to make users read the error messages). A major bug has been found in the potential short wave solar radiation calculation: the beam values were actually already projected to the horizontal, leading to a double projection to horizontal when requesting the horizontal components. The whole potential radiation code has been reviewed, comparing line by line with Iqbal. A few variables have been renamed in order to better match the paper. And more detailed comments added to explain some of the most mysterious parameters. The potential ISWR data generator has been adjusted and checked. it can use a measured ILWR to correct for cloudiness if available.
-
- 20 May, 2013 1 commit
-
-
Mathias Bavay authored
The dataGenerators can now process all parameters (ie including the extra parameters) properly. This makes it possible to create a new parameter by using a COPY followed by *0, +nodata filters and then fill the now empty new parameter with a data generator (very useful to compare generated values with a reference measurement). Moreover the processing overhead should have been reduced by looping over the declared generators instead of over the parameters.
-
- 26 Mar, 2013 1 commit
-
-
Mathias Bavay authored
Some code cleanup and micro-optimizations. The documentation has been improved (configuration of doxygen as well as some duplicate section labels).
-
- 25 Mar, 2013 1 commit
-
-
Mathias Bavay authored
Added a missing test for VW==IOUtils::nodata in Hamon undercatch filter. Updated the drawings to reflect the addition of DataGenerator
-
- 22 Mar, 2013 2 commits
-
-
Mathias Bavay authored
Fixed a stupid bug in Unsworth generator (it was always generating data...), improved the documentation of POT_RADIATION and tried to play with a cloudiness factor (not working yet).
-
Mathias Bavay authored
A new generator for ISWR or RSWR has been implemented, providing clear sky, potential radiation. Overall, writing the code and its documentation and testing it took less than half an hour!
-
- 21 Mar, 2013 2 commits
-
-
Mathias Bavay authored
A buf in some unsworth implementation in Atmosphere has been fixed (check with nodata). The order of the meteodata fields has been changed because this directly impacts the order of the processing of the fields (the goal being that fields that are often checked with a combination of other fields get processed in the end). The unsworth_dilley ILWR data generator has been implemented with the usage of the last cloudiness during the night as well as the usage of a generic snow albedo (or grass albedo) to convert RSWR to ISWR (if necessary) coupled with a threshold on the snow height.
-
Mathias Bavay authored
The METEO_TIMSERIES and STATION_TIMESERIES have been renamed in METEO_SET and STATIONS_SET in order to better reflect their content. The concept of data generators is introduced. A new section has been created [Generators] to define how to generate data for each parameter when everything else failed. Soon, you will be able to generate ILWR directly by declaring it in your io.ini!
-