Skip to content
Snippets Groups Projects
  1. Apr 03, 2019
  2. Apr 02, 2019
    • Lionel GUEZ's avatar
      Remove "outermost_possible_level.f", not used since commit · 569f9e57
      Lionel GUEZ authored
      0ce6b1b4.
      
      Write extr_map in test_read_snapshot since extr_map has been
      defined. So create a procedure write_extr_map because now we want to
      write extr_map both in test_local_extrema and in test_read_snapshot.
      
      Preparing to take into account periodicity in successive_overlap: add
      argument periodic to read_snapshot and extend s%extr_map in longitude
      if periodic.
      
      In program extraction_eddies, constraint on max_radius(1) is necessary
      only if periodic.
      
      Make read_snapshot more general: add argument step.
      
      In procedure get_snapshot, remove definition of s%number_eddies
      because this is already done in read_snapshot.
      
      Promote dist_lim from local constant of successive_overlap to constant
      of module successive_overlap_m because we need it in read_snapshot
      (and test_successive_overlap and test_read_snapshot).
      569f9e57
  3. Sep 25, 2018
    • Lionel GUEZ's avatar
      The component extr_map of type snapshot is now defined with duplicated · 2bef32e4
      Lionel GUEZ authored
      values at longitude boundaries, in case of periodicity.
      
      Add argument "periodic" to procedures get_snapshot and
      set_all_outerm. Duplicate values at longitude boundaries in ssh, u, v
      if periodic. set_all_outerm can now call local_extrema with periodic
      true. In procedure set_all_outerm, we shift the longitudes of outside
      points if necessary.
      
      In program test_get_snapshot, define periodic from step and nlon.
      2bef32e4
  4. Sep 21, 2018
  5. Sep 13, 2018
  6. Jul 17, 2018
  7. 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
  8. Dec 04, 2017
    • Lionel GUEZ's avatar
      If an outermost contour has exactly the minimum amplitude, it is · 0ce6b1b4
      Lionel GUEZ authored
      acceptable. So define flat_extr by a strict inequality in procedure
      get_snapshot.
      
      Procedure set_outermost_contour no longer has a dummy argument
      noise_around. We no longer call outermost_possible_level so we do not
      have an artificial discontinuity of results with and without maximum
      amplitude. We abandon the idea of reducing the amplitude of initial
      level_good compared to innermost_level: problem of consistence with
      get_snapshot, and it does not seem worth the trouble, just abandon
      those problematic extrema. Allow for null outermost_contour instead of
      aborting.
      
      In procedure get_snapshot, s%list_vis(i)%suff_amp is first defined
      only if flat_extr(i). Also we are no longer sure that
      set_outermost_contour finds an outermost contour so we have to test
      this to define s%list_vis(i)%suff_amp. noise_around is now defined
      only for flat_extr(i) and s%list_vis(i)%suff_amp. Also, since we may
      not find an outermost contour even if not flat_extr(i), we update
      s%extr_map after the second call to set_outermost_contour.
      
      In procedure local_extrema, we use the mask diff_center instead of
      mask_center. So we no longer need procedure construct_mask_center. In
      procedure local_extrema, we ignore one in two adjacent degenerate
      extrema instead of aborting.
      
      In plot_snapshot.py, color extrema and allow for null outermost
      contour.
      
      Synthesize output in test_local_extrema.py.
      0ce6b1b4
  9. Oct 31, 2017
    • Lionel GUEZ's avatar
      get_snapshot and test_get_snapshot are back, implementing the · 16d0b6fa
      Lionel GUEZ authored
      low-amplitude threshold, min_amp.
      
      Add component suff_amp to derived type eddy. Write this component in
      extremum_$m.dbf.
      
      In shapefiles, write positions of vertices in degrees rather than
      radians.
      
      test_get_snapshot reads the whole domain of input NetCDF files instead
      of selecting a window through a namelist. This is clearer and more
      convenient. Same in test_get_snapshot.py, test_local_extrema and
      test_local_extrema.py.
      
      In test_get_snapshot.py, annotate extrema instead of inserting a
      legend.
      
      More correct names: radian_per_degree to deg_over_rad,
      degree_per_radian to rad_over_deg.
      16d0b6fa
  10. Oct 13, 2017
  11. Sep 22, 2017
  12. Sep 12, 2017
    • Lionel GUEZ's avatar
      Preparation for low-amplitude threshod: add output argument cyclone to · 1ee17f6d
      Lionel GUEZ authored
      local_extrema instead of coding sense of rotation with the sign of
      extr_map.
      
      In makefile, we want tags to include sources for test_good_contour,
      etc. External file list becomes easier.
      
      Moved test_bilinear_interp.f and test_bilinear_interp.py out of the
      project. These are rather tests on Numer_Rec_95.
      
      In test_local_extrema, write to CSV file instead of stdout.
      1ee17f6d
  13. Sep 06, 2017
Loading