WSL/SLF GitLab Repository

  1. 04 Sep, 2014 1 commit
  2. 22 Aug, 2014 1 commit
    • Mathias Bavay's avatar
      Adding a new meteo parameter: the cloud transmissivity TAU_CLD defined as... · 07fadabc
      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).
      07fadabc
  3. 12 Aug, 2014 1 commit
  4. 29 May, 2014 1 commit
    • Mathias Bavay's avatar
      The Winstral spatial interpolation algorithm is getting into shape: all three... · b612fab4
      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.
      b612fab4
  5. 28 Apr, 2014 1 commit
    • Mathias Bavay's avatar
      Several bugs have been fixed: in the AllSky generator, the cloudiness was... · 907a717e
      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.
      907a717e
  6. 22 Apr, 2014 2 commits
    • Mathias Bavay's avatar
      The Idso clear sky ILWR has been added (and also added to the clear sky... · 3f654015
      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!).
      3f654015
    • Mathias Bavay's avatar
      The ClearSky and AllSky generators have been renamed as ClearSky_LW and... · 17d72966
      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!
      17d72966
  7. 07 Apr, 2014 1 commit
  8. 18 Mar, 2014 2 commits
  9. 17 Mar, 2014 1 commit
    • Mathias Bavay's avatar
      Since the number of clear or all sky parametrizations seem to multiply, two... · b4d2b4f7
      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).
      b4d2b4f7
  10. 13 Mar, 2014 1 commit
  11. 03 Feb, 2014 1 commit
  12. 29 Jan, 2014 1 commit
  13. 13 Dec, 2013 1 commit
  14. 06 Dec, 2013 1 commit
  15. 25 Nov, 2013 1 commit
  16. 21 Nov, 2013 1 commit
    • Mathias Bavay's avatar
      Finally, it is now posible to handle precipitation data provided as 24 hours... · 006d23e4
      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).
      006d23e4
  17. 13 Nov, 2013 1 commit
  18. 28 Oct, 2013 2 commits
  19. 05 Oct, 2013 1 commit
  20. 26 Aug, 2013 1 commit
    • Mathias Bavay's avatar
      The Config class now has a method getValues() to retrieve in a vector of type... · 28da250f
      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.
      28da250f
  21. 14 Jun, 2013 1 commit
    • Mathias Bavay's avatar
      The default ilwr model in Atmosphere as been changed to Unsworth. The fixed... · 87556084
      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.
      87556084
  22. 05 Jun, 2013 1 commit
    • Mathias Bavay's avatar
      The exceptions were not printed with a line return anymore, messing up the... · c7476e31
      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).
      c7476e31
  23. 25 May, 2013 1 commit
  24. 23 May, 2013 1 commit
  25. 22 May, 2013 1 commit
    • Mathias Bavay's avatar
      The graphical message box for exceptions has been turned off by default,... · 03aadd5e
      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.
      03aadd5e
  26. 20 May, 2013 1 commit
    • Mathias Bavay's avatar
      The dataGenerators can now process all parameters (ie including the extra... · 2daffd0a
      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.
      2daffd0a
  27. 26 Mar, 2013 1 commit
  28. 25 Mar, 2013 1 commit
  29. 22 Mar, 2013 2 commits
  30. 21 Mar, 2013 2 commits
    • Mathias Bavay's avatar
      A buf in some unsworth implementation in Atmosphere has been fixed (check with... · 4265c012
      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.
      4265c012
    • Mathias Bavay's avatar
      The METEO_TIMSERIES and STATION_TIMESERIES have been renamed in METEO_SET and... · 82b555ad
      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!
      82b555ad