- Sep 18, 2024
-
-
GUEZ Lionel authored
Rather than calling dbffileisnull or shpfileisnull. This should be faster and more robust.
-
- Sep 12, 2024
-
-
GUEZ Lionel authored
Of derived type `shpc_slice_handler`.
-
GUEZ Lionel authored
Specify whether to read shapefile `extr_proj` in procedure `shpc_open` instead of just trying to read this shapefile. Use `uniform_lon_lat` to decide whether to read the shapefile. As `shpc_open` is called in both programs `inst_eddies` and `eddy_graph`, we cannot access variable `uniform_lon_lat` of module `input_ssh_m`, which is not used in program `eddy_graph`, nor variable `uniform_lon_lat` of module `read_grid_m`, which is not used in program `inst_eddies`. So we add a dummy argument `with_proj` to procedure `shpc_open`.
-
- Sep 02, 2024
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Jul 09, 2024
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Jul 05, 2024
-
-
-
We do not need it. we can just have a local variable at initialization.
-
-
- May 27, 2024
-
-
Lionel GUEZ authored
-
- May 10, 2024
-
-
Lionel GUEZ authored
Since getting `i_slice` is now cheaper.
-
Lionel GUEZ authored
Return `i_slice` instead. Since getting `i_slice` is now cheaper.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Instead of defining `self._n_dates` with zeroes. So we do not need the function `get_n_dates` any longer.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Do not define `self._ishape_last[i_slice][orientation]` in `_create_ishape_last`. Return a numpy array instead. Clearer.
-
Lionel GUEZ authored
-
- Apr 29, 2024
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Apr 27, 2024
-
-
Lionel GUEZ authored
Compute `i_slice` in `comp_ishape` if `i_slice` is None. Add default value of None for dummy argument `i_slice`.
-
Lionel GUEZ authored
Move dummy argument `i_slice` of function `comp_ishape` to last position. Because we are going to add a default value.
-
- Apr 26, 2024
-
-
Lionel GUEZ authored
For `Test_compare` version > 0.4.
-
- Nov 28, 2023
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Move functions `node_to_date_eddy` and `date_eddy_to_node` from script `report_graph.py` to script `util_eddies.py`. `util_eddies.py` contains more basic functions, it only imports shapefile. `report_graph.py` imports networkx. It was not convenient nor meaningful to require networkx for scripts that use `node_to_date_eddy` or `date_eddy_to_node`.
-
- Jul 13, 2023
-
-
Lionel GUEZ authored
-
- Jun 23, 2023
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
This was polluting standard output. So we have to add the shapefile path when it is not found.
-
Lionel GUEZ authored
OSError is more specific than SystemExit. It is better to have a more specific exception when we want to catch it.
-
Lionel GUEZ authored
Invert order of dummy arguments orientation and layer of method `get_reader`. Take the same order than in the path. `orientation` was at the end because, at first, in commit d858fb72, it was an optional argument.
-
Lionel GUEZ authored
-
- Jun 02, 2023
-
-
Lionel GUEZ authored
Check that `SHPC_dir` exists at initialization of instance of class SHPC. Before this commit, if `SHPC_dir` did not exist, there was an error trying to create `n_slices.txt`, which was less clear.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Jun 01, 2023
-
-
Lionel GUEZ authored
-
- May 22, 2023
-
-
Lionel GUEZ authored
Remove unused procedures and programs `inside_4`, `max_speed_contour_ssh`, `test_inside_4`, `test_max_speed_contour_ssh`. Unused since commit 99e2e1b1.
-