- Sep 09, 2024
-
-
GUEZ Lionel authored
Do not always specify uv-file when it is the same as ssh-file.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Instead of reading command line arguments in procedure `input_ssh`, read them outside and pass file names to `input_ssh`. This allows `input_ssh` to be called by programs with different number of command line arguments, in different positions. Preparing to make the specification of uv-file optional.
-
- Jul 19, 2024
-
-
Lionel GUEZ authored
Replace argument `s` of `set_all_extr` by its components. The idea is to remove the structure `snapshot` from program `inst_edddies`.
-
- Jul 15, 2024
-
-
Lionel GUEZ authored
We are circumventing a bug of the Intel Fortran compiler. This was tested with both ifx `2023.1.0` and ifort `2021.9.0`. The bug occurs on return from procedure `set_max_speed`: `free(): double free detected in tcache 2` and crashes execution. The bug is revealed in commit cc13fd5b. The GNU compiler does not have this bug. To circumvent the Intel compiler bug, instead of an ssh component of `cont_list_proj`, we have to use a separate array: `cont_list_ssh`. This is maybe for the best because the component `area` of `cont_list_proj` was not defined.
-
- Jul 06, 2024
-
-
GUEZ Lionel authored
`MAX_RADIUS_deg` is not general enough for a non longitude latitude grid. The variable `max_radius` moves from module `input_ssh_m` to module `config_m`. The variable `MAX_RADIUS_deg` disappears. The constraint `2 * max_radius_deg(1) < 180` becomes `4 * max_radius(1) < nlon` but is only applied to the periodic case because we do not have the general equivalent of 180° in number of points.
-
GUEZ Lionel authored
Promote nlon and nlat to variables of module `input_ssh_m`, avoiding their repeated computation.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
`Region_1_20454_cyclone_3/config_nml.txt` is a symlink to `Extraction_eddies_region_1_noise/config_nml.txt`.
-
GUEZ Lionel authored
In main program units `inst_eddies`, `examine_eddy` and `test_get_1_outerm`, redefine `outside_points` as coordinates in projection space, avoiding a round trip to longitude and latitude. In `examine_eddy`, we therefore store `coord_proj` instead of coord.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
From `nearby_extr`.
-
GUEZ Lionel authored
Instead of `outside_points`.
-
GUEZ Lionel authored
Instead of `outside_points`.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Avoiding conversion back and forth to real.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Instead of corner.
-
GUEZ Lionel authored
Instead of corner.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Instead of corner.
-
GUEZ Lionel authored
Instead of from `out_cont`.
-
GUEZ Lionel authored
After reading `cont_list_proj`.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Pass `corner_proj` instead of corner to `mean_speed`, avoiding a repeated computation.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Avoiding a repeated computation.
-
GUEZ Lionel authored
Pass `extr%coord_proj` instead of `extr%coord` to `get_1_outerm`, avoiding a repeated computation of `extr%coord_proj`.
-
GUEZ Lionel authored
Call `input_ssh` from main program `test_mean_speed`. This is necessary because procedure `mean_speed` uses variable corner from module `input_ssh_m`. Note that we have to call config before `input_ssh` since `input_ssh` uses a variable from module `config_m`.
-
- Jul 05, 2024
-
-
GUEZ Lionel authored
Preparing for replacement by call to `input_ssh`.
-
GUEZ Lionel authored
Preparing for replacement by call to `input_ssh`.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
See commit f5e0f59e.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
In program `test_set_max_speed`, read `cont_list_proj` instead of computing it. Computing it is not possible with a non longitude-latitude grid.
-
GUEZ Lionel authored
Note that, as each shapefile should have an associated DBF file with at least one field, we choose to put the SSH field in `cont_list_proj` and the speed field in `cont_list`.
-