Skip to content
Snippets Groups Projects
  1. Apr 03, 2019
  2. Oct 01, 2018
  3. Mar 19, 2018
  4. Dec 18, 2017
    • Lionel GUEZ's avatar
      In program test_good_contour, choose more general default values of · e2c549ec
      Lionel GUEZ authored
      namelist input. Also, choose name of primary NetCDF variable in
      namelist and read only this variable, not its coordinates. This makes
      it easier to use an arbitrary NetCDF file.
      
      In program test_set_outermost_contour, it is hard to remember the
      order of positional arguments so we rather use fixed input file names
      and no arguments.
      
      In JSON input file for tests, it is simpler to use the "input" key
      than creating a one-line input file, in some cases.
      e2c549ec
  5. Dec 15, 2017
    • Lionel GUEZ's avatar
      In procedure get_snapshot, encountered rounding error that led to · 7d99eff6
      Lionel GUEZ authored
      out-of-range index so add min when calculating urc.
      
      Bug fix in procedure good_contour. polygon_contains_point should not
      be called if polyline is not closed.
      
      Procedure polygon_contains_point became unpure so remove pure for
      procedure inside_4 too.
      
      In program test_good_contour, read corner and step from namelist
      rather than from coordinates in NetCDF file. Makes it possible to use
      the same NetCDF file with different coordinates. Also read
      outside_points from a file rather than standard input so there is no
      need to specify in advance the number of outside points.
      
      Take into account the possibility that no outermost contour was found
      in program test_set_outermost_contour. Also, use fixed names for input
      files because it is not convenient to require a particular order of
      these two files on the command line.
      7d99eff6
  6. Nov 24, 2017
  7. Nov 23, 2017
  8. Nov 17, 2017
    • Lionel GUEZ's avatar
      Bug fix. Accept the last point in procedure · e194ec8d
      Lionel GUEZ authored
      outermost_possible_level. This is especially important if the extremum
      is one point away from the last point.
      
      Bug fix. In procedure set_outermost_contour, take level_good a little
      bit closer to ssh_extremum than innermost_level because of border
      points. Contour_531 will not close a contour passing at a point on the
      border. So if innermost_level corresponds to a point on the border,
      good_contour at innermost_level finds nothing.
      
      Make the program test_good_contour more general: read a NetCDF file
      instead of calling define_example_reg.
      e194ec8d
  9. Oct 13, 2017
  10. Oct 10, 2017
    • Lionel GUEZ's avatar
      Create procedure set_max_speed (with a large part coming from removed · 5a1854e6
      Lionel GUEZ authored
      procedure get_eddy), with corresponding test.
      
      Take into account the fact that derived type polygon became polyline
      in library Contour_531.
      
      Use new procedure null_polyline from library Contour_531.
      
      Correct a sneaky bug in mean_speed: the last point in the polygon
      array is a duplicate of the first point, do not take the last point
      into account when averaging (and interpolating). Discovered this bug
      because the mean speed was not exactly the same for equivalent
      polygons with circular permutation.
      
      Change philosophy for the tests: read whole NetCDF variables, prepare
      different NetCDF files for different geographical regions if needed;
      read all data from file or namelist; read names of files on command
      line.
      
      Use generic test_program.sh (which is out of this project) instead of
      the specific tests_detection_eddies.sh.
      5a1854e6
  11. Sep 06, 2017
Loading