- Jul 06, 2024
-
-
GUEZ Lionel authored
-
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
Rename `coord_extr` to `extr_coord` and `coord_extr_proj` to `extr_coord_proj`, to have the same names as in procedure `set_max_speed`.
-
GUEZ Lionel authored
Following update 614b427 of `Contour_531`.
-
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
-
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`.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Read the same NetCDF files than those used to create `cont_list`. It does not change anything since the window is going to be created inside `test_set_max_speed`, so it is an unnecessary complication to have input NetCDF files on a restricted domain. Furthermore, if we want to use `test_set_max_speed` on a non longitude-latitude grid, then it would be a problem to convert x, y corresponding to the grid of `cont_list` to x, y corresponding to a restricted grid.
-
GUEZ Lionel authored
Make `cont_list` a polyline and `cont_list_proj` an SSH contour, instead of vice-versa. The motivation is clarity in `get_1_outerm`: we only define `cont_list` at the end.
-
GUEZ Lionel authored
Because we may drop all the contours, if the area is not large enough, or some of the contours, if `n_cont == n_max_cont-1`, convert to longitude and latitude only when we are are sure it is useful.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
Transmit projection coordinates of contour to `mean_speed`.
-
-
Transmit `cont_list_proj` from `get_1_outerm` to `set_max_speed`.
-
-
-
-
This is equivalent for a return value of `good_contour`. It is a little faster to test a logical value, maybe.
-
-
-