WSL/SLF GitLab Repository

  1. 20 Jul, 2015 2 commits
  2. 16 Jul, 2015 1 commit
    • Mathias Bavay's avatar
      A new date format has been added: RFC868. Two MeteoGrids have been renamed:... · 7b639ecc
      Mathias Bavay authored
      A new date format has been added: RFC868. Two MeteoGrids have been renamed: ISW_DIR as ISWR_DIR and ISW_DIFF as ISWR_DIFF while a new grid has been declared (P_SEA). A few new constants have been declared. Some new links into the GRIB documentation as well as support for TAU_CLD. The NetCDF support is much improved, although there are still things left to do (writing grids out has been disabled for the moment, the parsing of the time units is currently not done, there is no support for automatically getting the data out of multiple files in a directory, etc).
      7b639ecc
  3. 16 Jun, 2015 1 commit
  4. 18 Dec, 2014 1 commit
  5. 17 Dec, 2014 1 commit
  6. 25 Nov, 2014 1 commit
  7. 24 Nov, 2014 1 commit
    • Mathias Bavay's avatar
      Finally adressing issue 72 with second resolution in dates. The ISO strings... · 841d9337
      Mathias Bavay authored
      Finally adressing issue 72 with second resolution in dates. The ISO strings now contain the seconds when written out and by reading them, the seconds can be provided (but this is not mandatory). In ARC, grids are now named with the seconds (except when enabling the Alpine3D naming scheme). The adresses a bug that was found when requesting" raw" processing level from a plugin that constructs its timestamps from a decomposed time: time-1s and time+1s were the same and therefore this could trigger problems in the plugin.
      841d9337
  8. 11 Nov, 2014 1 commit
  9. 02 Oct, 2014 1 commit
  10. 12 Aug, 2014 1 commit
  11. 31 Jul, 2014 1 commit
  12. 03 Jun, 2014 1 commit
  13. 19 May, 2014 1 commit
  14. 16 May, 2014 1 commit
  15. 08 May, 2014 2 commits
  16. 28 Feb, 2014 1 commit
  17. 10 Jan, 2014 2 commits
  18. 02 Dec, 2013 1 commit
  19. 05 Oct, 2013 1 commit
  20. 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
  21. 15 Jul, 2013 1 commit
  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. 21 May, 2013 1 commit
  24. 18 Apr, 2013 1 commit
  25. 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
  26. 13 Mar, 2013 1 commit
    • Mathias Bavay's avatar
      A rounding bug has been found in the Date class: when using a Date object in a... · 2ddc7feb
      Mathias Bavay authored
      A rounding bug has been found in the Date class: when using a Date object in a loop where it gets incremented, it accumulates errors and after ~70000 iterations, the error would get bigger than one second, making date comparisons with a fixed date impossible. This has been solved by always rounding the internal gmt Julian date to the closest second, after each assignment (from the constructors, the setDate() calls or any arithmetic operation). Moreover, the rounding methods have been re-written to be more efficient as well as other roundings (specially when computing the date decomposition from Julian). 
      
      The seek() call performing a binary search has also been simplified, in order to remove unnecessary tests, put some similar tests together and make the code clearer. 
      
      Some constification and better vector usage took place in ResamplingAlgorithms and Meteo1DInterpolator.
      2ddc7feb
  27. 14 Feb, 2013 1 commit
    • Mathias Bavay's avatar
      In order to try to be closer to the spirit of the STL, now the empty... · 3f45c394
      Mathias Bavay authored
      In order to try to be closer to the spirit of the STL, now the empty strings/vectors/lists are tested with .empty(), the first/last elements of vectors accessed with front()/back(), the empty strings are not contructed with string("") but with string(), etc This makes a benchmark based on meteo_reading ~4% faster and this makes the code suprisingly easier to read. 
      
      Some extra constification took place as well as some minor code cleanup (optimizing the comparison between two vectors in order to perform less tests, etc).
      
      The Date class can now properly generate and parse full ISO timestamps, including time zone information. The full specification is now supported by convertString() with a helper method in the Date class. Ouputing an ISO string with its time zone is done by requesting the ISO_TZ format.
      
      
      3f45c394
  28. 24 Jan, 2013 1 commit
  29. 05 Dec, 2012 1 commit
  30. 26 Nov, 2012 1 commit
  31. 02 Nov, 2012 1 commit
  32. 31 Oct, 2012 1 commit
  33. 30 Oct, 2012 1 commit
    • Mathias Bavay's avatar
      The automatic tests have shown that the code was getting slower following the... · 5bf0f221
      Mathias Bavay authored
      The automatic tests have shown that the code was getting slower following the latest commits. After investigations (thanks valgrind!), it has been found that the newly added copy constructor of Coords was used a lot as well as setFunctionPointers(). Therefore the function pointers have been removed and replaced by a simple list of if(coordsy=="") etc. The run time is now back to normal (and actually up to 6% faster on some tests).
      
      Cosmetic touch up on Date.
      5bf0f221
  34. 28 Oct, 2012 1 commit
  35. 25 Oct, 2012 1 commit
  36. 20 Jun, 2012 1 commit
    • Mathias Bavay's avatar
      The MeteoData == operator now compares with an epsilon. The... · 8e49698d
      Mathias Bavay authored
      The MeteoData == operator now compares with an epsilon. The chekEpsilonEquality function has been rewritten, according to best practise and inlined. The powN functions have been moved to MathOptim and inlined. This makes the benchmarks 2% faster, that's such a victory...
      8e49698d
  37. 19 Jun, 2012 1 commit