Skip to content
Snippets Groups Projects
  1. Aug 06, 2018
  2. Jul 30, 2018
  3. Jul 27, 2018
  4. Jul 23, 2018
    • Lionel GUEZ's avatar
      Put small test input files under version control. Rename directory · 9c204185
      Lionel GUEZ authored
      Stdin to Input. Two input dir provided for in tests.json: $input_dir
      and $large_input_dir.
      
      Rename everywhere variable nearby_extr to outside_points to avoid
      confusion with function nearby_extr. Rename file "nearby_extr.csv" to
      "outside_points.csv".
      
      In procedure nearby_extr, include in the selection extrema with
      different sign, even if they do not have sufficient amplitude.
      
      Bug fix in read_eddy: use the value of read attribute to define
      e%interpolated.
      9c204185
  5. Jul 17, 2018
  6. Jul 13, 2018
    • Lionel GUEZ's avatar
      Move the computation of nearby_extr out of procedure set_max_speed to · 1d80ce50
      Lionel GUEZ authored
      procedure get_snapshot. The idea is that, in this branch, nearby_extr
      will eventually include extrema depending not only on them having
      sufficient amplitude but also on their cyclonicity. Both pieces of
      information cannot be simply encoded in extr_map. The downside is that
      we compute needlessly nearby_extr if e%radius4 == 1 in set_max_speed.
      1d80ce50
    • Lionel GUEZ's avatar
      Polish. · 3a157d6c
      Lionel GUEZ authored
      3a157d6c
    • Lionel GUEZ's avatar
      Move the computation of nearby_extr out of procedure get_1_outerm, to · d5df9cae
      Lionel GUEZ authored
      procedure set_all_outerm. The idea is that, in this branch,
      nearby_extr will eventually include extrema depending not only on them
      having sufficient amplitude but also on their cyclonicity. Both pieces
      of information cannot be simply encoded in extr_map.
      d5df9cae
  7. Jun 20, 2018
  8. May 22, 2018
  9. May 17, 2018
  10. May 03, 2018
    • Lionel GUEZ's avatar
      Add arguments corner, nlon and nlat to procedure read_snapshot. In · 9af41fab
      Lionel GUEZ authored
      read_snapshot, assert that there is no duplicate tuple in
      s%ind_extr. Since we are not sure of that, we must use a do construct
      and not a forall in order to define s%extr_map.
      
      Bug fix in program test_local_extrema: support missing values. Add
      corresponding test.
      
      Output s%ind_extr in program test_read_snapshot.
      9af41fab
  11. May 02, 2018
  12. Apr 19, 2018
  13. Apr 16, 2018
  14. Apr 12, 2018
  15. Apr 06, 2018
    • Lionel GUEZ's avatar
      Move initialization of shapefiles to a separate procedure, · bf045ac7
      Lionel GUEZ authored
      init_shapefiles. This allows us to have variables for DBF field
      numbers, as module variables. We avoid the burden of passing this
      large number of variables as arguments to write_eddy. Safer to have
      variables for DBF field numbers than relying on the order of those
      fields.
      
      Remove file_list. This was a duplication of information.
      
      Use named constant for missing max speed value. It is used in two procedures.
      bf045ac7
  16. Apr 05, 2018
  17. Mar 30, 2018
    • Lionel GUEZ's avatar
      When we do not find an outermost contour or a max-speed contour, · 94515cc5
      Lionel GUEZ authored
      instead of defining the component ssh to the ssh of the extremum or to
      the ssh of the outermost contour, use a missing value flag
      (1e4). Also, when radius4 >= 2 and the max speed contour is the
      outermost contour, use missing value flag in the ssh component of max
      speed contour instead of ssh on outermost contour. This makes clearer
      output.
      
      Add function null_ssh_contour.
      
      In procedure get_1_outerm, simplify the comparison of level_try and
      level_good. So we do not need any longer the dummy argument
      ssh_extremum.
      94515cc5
  18. Mar 29, 2018
  19. Mar 26, 2018
    • Lionel GUEZ's avatar
      We might need the speed on the outermost contour in procedure · fc1ef684
      Lionel GUEZ authored
      weight. So, in procedure set_max_speed, in case radius equals 1, set
      e%max_speed to the speed on the outermost contour instead of zero.
      
      In procedure set_max_speed, in case the highest speed is on the
      outermost contour, set e%speed_cont%polyline to null_polyline instead
      of e%out_cont%polyline. This saves main memory and there is less
      copying to do.
      
      speed_cont can now be null even if max_speed is not zero so change
      test for null shape in procedure write_eddy.
      
      It appears that the shapelib C library cannot write a NaN value to a
      dbf file, so write 1e4 instead.
      
      Bug fix in plot_snapshot.py.
      fc1ef684
  20. Mar 20, 2018
  21. Mar 19, 2018
  22. Feb 09, 2018
    • Lionel GUEZ's avatar
      Circumventing gfortran bug: gfortran makes no difference between quiet · e8581d24
      Lionel GUEZ authored
      and signalling NaN so we cannot use the -ffpe-trap=invalid option.
      
      Accept that we might not be able to compute the mean speed on the
      outermost contour: there might be undefined values of velocity
      around. In that case just use the contour coming from
      max_speed_contour_ssh.
      
      Add quiver_key in plot_snapshot.py.
      
      New test for region 5.
      e8581d24
  23. Feb 07, 2018
    • Lionel GUEZ's avatar
      Make the program test_set_all_outerm more to the point: testing the · 0148e104
      Lionel GUEZ authored
      procedure set_all_outerm. So do not define and output null max-speed
      contours.
      
      Bug fix in program test_set_all_outerm: take into account missing
      values in ADT.
      
      Make plot_snapshot.py work even if there is no max-speed contour
      shapefile. So we can use plot_snapshot.py on results of program
      test_set_all_outerm.
      0148e104
  24. Jan 29, 2018
  25. Jan 24, 2018
    • Lionel GUEZ's avatar
      Allow missing values (for continents). · e8e729b1
      Lionel GUEZ authored
      For ssh, missing value is huge(0.). We have to take a large value
      because Contour_531 has an argument zmax for missing values. For
      velocity, missing value is a quiet NaN. We have to take this because
      we need to know if the interpolation procedure in mean_speed has not
      used any missing value and we do not want to alter the interpolation
      procedure itself.
      
      In local_extrema, we accept as local extrema only points with 8 valid
      values around them.
      
      When we look for the maximum speed contour, we are hoping that good
      contours do not englobe missing values. If this happens, the program
      aborts.
      
      When computing the mean speed on a contour, we are hoping that the
      interpolation of speed on contour points does not use missing
      values. If this happens, the program aborts.
      
      Draw coastlines in plot_snaphot.py. At the same time, this allows the
      use of any projection.
      e8e729b1
  26. Jan 09, 2018
  27. Jan 08, 2018
  28. Dec 22, 2017
  29. Dec 20, 2017
Loading