WSL/SLF GitLab Repository

  1. 05 Oct, 2016 1 commit
  2. 12 Sep, 2016 1 commit
    • Mathias Bavay's avatar
      Small optimization into Sun: if setting the lat/lon to the same values as... · 3555d63d
      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.
      3555d63d
  3. 23 Aug, 2016 1 commit
    • Mathias Bavay's avatar
      In SunObject, when deciding if it is day or night, a radiation threshold has... · 05939453
      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).
      05939453
  4. 18 Aug, 2016 1 commit
    • Mathias Bavay's avatar
      A new method for the spatial interpolations of ISWR has been implemented.... · 898a35cb
      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...
      898a35cb
  5. 17 Aug, 2016 1 commit
  6. 27 Jan, 2016 1 commit
    • Mathias Bavay's avatar
      A bug in the MeteoData::mergeTimeSeries() method has been fixed that was... · 328a1236
      Mathias Bavay authored
      A bug in the MeteoData::mergeTimeSeries() method has been fixed that was related to the handling of extra parameters. The SHADE filter can now compute masks directly from the DEM, but this has required to propagate the Config object all the way down to the filter. Some minor code cleanup and documentation fixes.
      
      Please notice that the SHADE filter is currently only appropriate for a single station! The most probable use case is to merge different stations into a new location (or to downscale to a new location) and properly mask the radiation by the surrounding terrain.
      328a1236
  7. 21 Dec, 2015 1 commit
  8. 18 Dec, 2015 1 commit
    • Mathias Bavay's avatar
      The timezones are now propagated into Sun and SunTrajectory so the sunrise,... · 4238a7a9
      Mathias Bavay authored
      The timezones are now propagated into Sun and SunTrajectory so the sunrise, sunset, solarnoon, can be shown in the local timezone. Two new methods have been implemented: getSolarTimeOfDay() and getSplittingBoland() that returns the splitting coefficient according to (Boland et al., 201).
      
      Documentation fix in InterpolationAlgorithms.
      4238a7a9
  9. 16 Nov, 2015 1 commit
  10. 12 Oct, 2015 1 commit
  11. 03 Sep, 2014 1 commit
  12. 12 Aug, 2014 1 commit
  13. 19 May, 2014 1 commit
  14. 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
  15. 18 Feb, 2014 1 commit
  16. 02 Oct, 2013 1 commit
  17. 30 Sep, 2013 1 commit
    • Mathias Bavay's avatar
      Now the dates can be rounded to the day (there was a bug preventing it... · 77c85422
      Mathias Bavay authored
      Now the dates can be rounded to the day (there was a bug preventing it before). A new parametrization has been implemented in SunObject that computes the daily sum of TOA radiation. This is used by a new resampling method that computes subdaily values out of a daily sum of radiation. This is not yet doing such a great job, but this is a start...
      77c85422
  18. 18 Sep, 2013 1 commit
  19. 15 Jul, 2013 1 commit
  20. 24 May, 2013 1 commit
    • Mathias Bavay's avatar
      In order to avoid re-parsing the resampling parameters for every point, the... · 463d7cb6
      Mathias Bavay authored
      In order to avoid re-parsing the resampling parameters for every point, the resampling algorithms have been restructured as classes inheriting from an interface class alongside an object factory. This should slightly increase the performances of resampling and clears the way (90% of the work being done) for a per-parameter window size (issue 173).
      
      A useful link has been added to the comments of Sun and some comments improved in DataGenerators
      463d7cb6
  21. 23 May, 2013 1 commit
  22. 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
  23. 17 Apr, 2013 1 commit
    • Mathias Bavay's avatar
      In order to implement an efficient and portable object serialization, it has... · ba0b7d3e
      Mathias Bavay authored
      In order to implement an efficient and portable object serialization, it has been decided that all serializable objects would be manually serialized to an std::iostream. Then, the parallelization framework (mpi, popc, etc) can take over this stream and move it to another node. Therefore, the operators "<<" and ">>" are now reserved for serialization (as seems to be standard) and the debug outputs are obtained by printing "object.toString()". This means that all debug code has potentially to be fixed, by replacing "std::cout << object" by "std::cout << object.toString()".
      ba0b7d3e
  24. 05 Mar, 2013 1 commit
  25. 11 Feb, 2013 1 commit
  26. 29 Oct, 2012 1 commit
  27. 17 Oct, 2012 1 commit
    • Mathias Bavay's avatar
      Some better documentation, a new method to project a radiation from the... · 01af7bb0
      Mathias Bavay authored
      Some better documentation, a new method to project a radiation from the horizontal to a slope (as needed by Snowpack), a foolproof method for computing the splitting (it only gets one parameter, the measured radiation, and knows which potential radiation to use...). Now Snowpack can use a Sun object for computing its radiation!
      01af7bb0
  28. 12 Oct, 2012 1 commit
  29. 11 Jun, 2012 1 commit
    • Mathias Bavay's avatar
      Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been... · 11fb1ed6
      Mathias Bavay authored
      Since the autotools are obsolete (and unmaintained) in MeteoIO, they have been removed. The popc++ version can be compiled with cmake (with some tricks: disable GSN and force the compiler to popcc). 
      
      For consistency, the various definitions of ot_deg and to_rad have been suppressed and replaced by Cst::to_deg or Cst::to_rad. Some mentions of the Earth's radius have been replaced by Cst::earth_R0. In Coords, some variables have been declared as const.
      11fb1ed6
  30. 01 Feb, 2012 1 commit
  31. 19 Jan, 2012 1 commit
  32. 20 Dec, 2011 1 commit
  33. 04 May, 2011 1 commit
    • Mathias Bavay's avatar
      The POPC version has been heavily transformed. Since we would need IOManager... · 0394dcf3
      Mathias Bavay authored
      The POPC version has been heavily transformed. Since we would need IOManager has a popc object and this is quite hard (we need a backreference in Meteo2DInterpolator), all parclasses have been removed. Instead, the user will have the responsability to packaged IOManager in his own parclass if needed. This makes the code simpler and skips difficult issues...
      
      A new fill method has been added to the Array2D and Array3D templates that does the reverse of subset (ie: reassemble arrays).
      
      Better error messages have been put in SNIO.
      
      A new Date setter that takes a Date object has been created.
      
      This version does NOT correctly compile with the autotools (it leads to a segfault when running code using MeteoIO), but the cmake compiled library works fine.
      0394dcf3
  34. 10 Mar, 2011 1 commit
  35. 09 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      In SNIO, the METAFILE can now be optional (which means that the metadata... · e9063b21
      Mathias Bavay authored
      In SNIO, the METAFILE can now be optional (which means that the metadata remain nodata, the user has therefore to fill them himself). This is used by Snowpack.
      
      After the Visual C++ compilation log from Raphael, some changes have been implemented: lots of warnigs about signed/unsigned fixed, some unreachable code removed, and some methods reimplemented for Windows. We are not there yet, but moving closer...
      e9063b21
  36. 08 Mar, 2011 1 commit
    • Mathias Bavay's avatar
      The vw_max field has been added to CosmoXMLIO, and the plugin has seen some... · 7b36a51a
      Mathias Bavay authored
      The vw_max field has been added to CosmoXMLIO, and the plugin has seen some cleanup in its comments. Additional comments in Sun.cc should help understand acceptable values for several radiation parameters. 
      
      A bug in SMETIO has been found (it was looking for METEOPATH in the input section even when smet was only used for outputs) and fixed.
      7b36a51a
  37. 26 Jan, 2011 1 commit
    • Mathias Bavay's avatar
      A new group of classes has been created, under the meteolaws subdirectory.... · 4b63f416
      Mathias Bavay authored
      A new group of classes has been created, under the meteolaws subdirectory. This contains various general meteorological laws, such as a sun radiation model, standard atmosphere, etc
      
      The first implementation (not tested yet) of a non-linear least square fit algorithm has been implemented in the libfit1D. 
      
      Several documentation issues have been fixed (obsolete code examples, etc) and classes grouped by modules. This should help the user to quickly locate the classes of interest. 
      4b63f416