- Apr 27, 2024
-
-
Lionel GUEZ authored
-
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.
-
- Feb 20, 2024
-
-
Lionel GUEZ authored
These files will usually be created in the same directory.
-
- Jan 08, 2024
-
-
Lionel GUEZ authored
Correct the test to know whether we can use part of the properties already calculated for the beginning of the segment. When `len_seg == 2 * n_days_avg`, `g.vp.inst_eddies[n][-n_days_avg:] = g.vp.inst_eddies[n][n_days_avg:]` so `g.vp.inst_eddies[n][:n_days_avg]` and `g.vp.inst_eddies[n][-n_days_avg:]` are disjoint. The bug comes from commit bdd0ce41.
-
Lionel GUEZ authored
-
- Dec 01, 2023
-
-
Lionel GUEZ authored
Bug fix: correct sign of variation of Rossby number and radius. We have to be consistent with the computation of `delta_ro_mean` and `delta_r_mean`. `delta_ro_mean` and `delta_r_mean` were computed by subtracting origin from tail.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
It does not make sense here to assume an ellipsoid: the computation of the distance with $\cos \phi \delta \lambda$ and $\delta \phi$ is a rougher approximation than treating the Earth as a sphere.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
We avoid multiple conversions to rad of the same value, in the loop on edges, since a segment can be head or tail of several edges.
-
- Nov 30, 2023
-
-
Lionel GUEZ authored
-
- 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`.
-
- Nov 23, 2023
-
-
Lionel GUEZ authored
-
- Sep 21, 2023
-
-
Lionel GUEZ authored
-
- Sep 11, 2023
-
-
Lionel GUEZ authored
Add option `--debug` to write all properties to output files. The properties which are not always written are not needed for further processing of the graph. To implement the option, we define variables for properties, so we revert in part commit 2e3c6606.
-
- Sep 08, 2023
-
-
Lionel GUEZ authored
Instead of reading it from a separate file.
-
- Sep 07, 2023
-
-
Lionel GUEZ authored
-
- Sep 05, 2023
-
-
Lionel GUEZ authored
-
- Jun 23, 2023
-
-
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.
-
- May 11, 2023
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Remove intermediary variables `first_term`, `second_term`, `third_term`.
-
Lionel GUEZ authored
-
- Mar 21, 2023
-
-
Lionel GUEZ authored
On second thought, I find the default value confusing. We are reverting commit b328ab6f.
-
- Mar 13, 2023
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Add arguments `input_segments` and `output_segments`. Because on one occasion I wanted to use and keep two versions of input and output graphs in the same directory
-
- Mar 10, 2023
-
-
Lionel GUEZ authored
-
- Nov 21, 2022
-
-
Lionel GUEZ authored
-
- Sep 30, 2022
-
-
Lionel GUEZ authored
-
- Sep 19, 2022
-
-
Lionel GUEZ authored
-
- Sep 16, 2022
-
-
Lionel GUEZ authored
Note that orientation = None is passed to `get_ishape_last` where it becomes `self.def_orient`.
-
Lionel GUEZ authored
Move function `comp_ishape` to method of SHPC class.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Sep 14, 2022
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
-
- Sep 06, 2022
-
-
Lionel GUEZ authored
`slice` is a built-in class of Python.
-
- Aug 31, 2022
-
-
Lionel GUEZ authored
The global variable was used in the body of the function.
-