- Jul 05, 2024
-
-
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.
-
-
-
-
We do not need it. we can just have a local variable at initialization.
-
-
Do not orient nor compute the area of `cont_list(n_cont)`. When the area is too small, then we have one more copy than before, of `cont_list(n_cont)` to `out_cont`, but, on the other hand, we have one less call to `ccw_orient` than before. So this change should not impact performance. Note that the orientation and area of `cont_list(n_cont)` were not used after `get_1_outerm`. Preparing to keep `cont_list` in projection coordinates.
-
-
Procedure `good_contour` now takes input in projection coordinates and returns a contour in projection coordinates. The dummy argument step of `good_contour` is thus removed.
-
-
Promote corner from dummy argument of `input_ssh` to variable of module `input_ssh_m`. The dummy argument corner of `set_all_extr` is also removed, since `set_all_extr` now accesses corner from `input_ssh_m`. Motivation: preparation to access the corner of NetCDF files from `get_1_outerm`.
-
-
This is a waste of computing time but we need to do this because we are going to remove corner from the dummy arguments of `set_all_extr`.
-
-
-
Do not re-define `coord_proj` if it was read from a shapefile.
-
- Jun 12, 2024
-
-
Lionel GUEZ authored
-
- Jun 06, 2024
-
-
Lionel GUEZ authored
We want to be able to re-compute the cost, starting from the output of a previous run of `cost_function.py`, when we have discarded the input file of the previous run.
-
- May 29, 2024
-
-
Lionel GUEZ authored
Segments is no longer a test with only isolated segments since commit e1c18ad8.
-
Lionel GUEZ authored
Add tests `Cost_function_avg_date`, `Greece_date` and `Eurec4A_cost_date`.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Add option `--avg_fix` in tests to reproduce previous behaviour.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
The old behaviour: averaging over a maximum number of instantaneous eddies, becomes an option. We do not use bisect because `max_delta` should be small, around 6, and most often there should be only one time step between instantaneous eddies, so the first guess at distance `max_delta` should be close to the result. Moreover, we would need to define a date function if we used bisect.
-
- May 28, 2024
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Preparing for generalization of these functions.
-
Lionel GUEZ authored
This does not change any result, it is just an equivalent formulation. We are preparing for a generalization of the choice of `ip_beg` and `ip_end`.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-