- Sep 12, 2024
-
-
GUEZ Lionel authored
Instead of deducing it from the longitude coordinate. The deduction could not be generalized to a non-uniform longitude-latitude grid. Also, the test on `step(1)` and nlon was not perfectly robust.
-
GUEZ Lionel authored
We are trying to simplify the logic in program `inst_eddies`. Also, the program `inst_eddies` should not write `grid_nml.txt` to the top level of the SHPC directory since several instances could run in parallel for several slices. So we are leaving it as a task for a script above `inst_eddies` to create `grid_nml.txt` at the top level of the SHPC directory. In tests, we have to move `grid_nml.txt` to SHPC because we use `SHPC/grid_nml.txt` in other tests.
-
GUEZ Lionel authored
We are reverting commit d4d05bc2. It was not true that we needed two input fluxes in the Fortran program. `inst_eddies.py` can read the file `config_nml.txt` and merge its content to stdin for the Fortran program.
-
GUEZ Lionel authored
Add argument SHPC-dir to script `inst_eddies_Aviso.py`. We want to be able to run `inst_eddies_Aviso` in parallel for several slices. Since we write `used_config_nml.txt` to the current directory, we need to run the parallel instances from different directories. So the current directory cannot always be the directory containing the SHPC to be appended to.
-
GUEZ Lionel authored
Add argument `SHPC_dir` to function `loop_inst_eddies`. We want to be able to run `loop_inst_eddies` in parallel for several slices. Since we write `used_config_nml.txt` to the current directory, we need to run the parallel instances from different directories. So the current directory cannot always be the directory containing the SHPC to be appended to.
-
GUEZ Lionel authored
-
GUEZ Lionel authored
We want to be able to run `inst_eddies` from a directory other than the directory containing the SHPC to be appended to. Preparing to write `grid_nml.txt` and `used_config_nml.txt` in the current directory. To be able to do this in parallel for several slices, we need to be running in different directories.
-
- Sep 09, 2024
-
-
GUEZ Lionel authored
-
GUEZ Lionel authored
In program `examine_eddy`.
-
GUEZ Lionel authored
Change order of command line arguments of program `examine_eddy`. Preparing to allow a variable number of NetCDF file arguments.
-
GUEZ Lionel authored
Do not always specify uv-file when it is the same as ssh-file.
-
- 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
-
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
-
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
-
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
-
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.
-
-
- Jun 12, 2024
-
-
Lionel GUEZ authored
-
- Apr 26, 2024
-
-
Lionel GUEZ authored
For `Test_compare` version > 0.4.
-
- Feb 20, 2024
-
-
Lionel GUEZ authored
Rather than from current series of tests.
-
Lionel GUEZ authored
-
- Sep 05, 2023
-
-
Lionel GUEZ authored
This variable was already used in other tests.
-
Lionel GUEZ authored
Because some tests require results from other tests in this series of tests.
-
- Jun 23, 2023
-
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Because it can be created by analysis scripts.
-
Lionel GUEZ authored
It must be the same than the one used for other input files of the test.
-
Lionel GUEZ authored
Remove input file `outside_points_get_1_outerm.csv`. Use result from test `Region_1_20454_cyclone_3` instead. There is one less point in the file `outside_points.csv` from the test `Region_1_20454_cyclone_3` but this does not change the results of the two impacted tests: `Get_1_outerm` and `Extr_proj`.
-
Lionel GUEZ authored
The only difference in the test specification of `Get_1_outerm_noise_2` with test `Get_1_outerm` is the input file `outside_points.csv`. This difference in specification leads to no difference in results of the two tests. The input file `outside_points.csv` for `Get_1_outerm` is problematic because it has an extra point at (9.375, -35.857) which corresponds to a cyclone for an old version of SSH data. So we are going to change the input file of `Get_1_outerm` to take `$tests_old_dir/Region_1_20454_cyclone_3/outside_points.csv`, the same one than for `Get_1_outerm_noise_2`, so there is really no use for `Get_1_outerm_noise_2`.
-
Lionel GUEZ authored
-
Lionel GUEZ authored
Remove input file `outside_points_get_1_outerm_noise_2.csv`. Use result from test instead.
-
Lionel GUEZ authored
Motivation: provide file `outside_points.csv` instead of keeping it in `Inst_eddies/Tests/Input/Region_1`.
-
Lionel GUEZ authored
To new version provided by Aviso.
-
Lionel GUEZ authored
There is no significant difference with `Extraction_eddies_region_1_noise`: no impact of `min_amp` on this region. For an impact of `min_amp`, compare tests `Extraction_eddies_region_3` and `Extraction_eddies_region_3_min`.
-
Lionel GUEZ authored
Read path to the pre-existing `cont_list` shapefile on the command line.
-
Lionel GUEZ authored
We rewrite `inst_eddies_Aviso.py` so it is more convenient to use. The script is only useful for several input files. Otherwise we can directly use `inst_eddies.py`. So instead of optional arguments template and last date, we use positional arguments. Then there is no point in distinguishing dirname and basename. Also, it does not make sense any longer to read the date from the content of the first file. The script becomes more general: we do not assume that all input NetCDF files are in the same -directory and that the time coordinate is in days since 1950-1-1. The interface is also clearer.
-
Lionel GUEZ authored
-