- Apr 03, 2019
-
-
Lionel GUEZ authored
-
- Apr 02, 2019
-
-
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).
-
- Sep 25, 2018
-
-
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.
-
- Sep 21, 2018
-
-
Lionel GUEZ authored
internal procedure. In procedure local_extrema, if periodic, pass arrays "field" and "extr_map" with a duplicate column at each bound. Then there is no need to copy to local 3x3 arrays. Add argument my_lbound.
-
- Sep 13, 2018
-
-
Lionel GUEZ authored
first dimension of input field. So there may be extrema on the borders and we have to create a private procedure local_extremum. Added scale option to script plot_snapshot.py.
-
- Jul 17, 2018
-
-
Lionel GUEZ authored
-
- May 03, 2018
-
-
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.
-
- Dec 04, 2017
-
-
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.
-
- Oct 31, 2017
-
-
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.
-
- Oct 13, 2017
-
-
Lionel GUEZ authored
test_good_contour has more general input. test_inside tests only inside, no loop on radius.
-
- Sep 22, 2017
-
-
Lionel GUEZ authored
Choose longitude and latitude window at run-time in test_local_extrema.
-
- Sep 12, 2017
-
-
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.
-
- Sep 06, 2017
-
-
Lionel GUEZ authored
-