Add arguments corner, nlon and nlat to procedure read_snapshot. In
read_snapshot, assert that there is no duplicate tuple in s%ind_extr. Since we are not sure of that, we must use a do construct and not a forall in order to define s%extr_map. Bug fix in program test_local_extrema: support missing values. Add corresponding test. Output s%ind_extr in program test_read_snapshot.
Showing
- Tests/Stdin/read_snapshot_nml.txt 5 additions, 0 deletionsTests/Stdin/read_snapshot_nml.txt
- Tests/read_snapshot.f 18 additions, 10 deletionsTests/read_snapshot.f
- Tests/test_get_snapshot.f 3 additions, 5 deletionsTests/test_get_snapshot.f
- Tests/test_local_extrema.f 11 additions, 5 deletionsTests/test_local_extrema.f
- Tests/test_read_snapshot.f 24 additions, 3 deletionsTests/test_read_snapshot.f
- Tests/tests.json 8 additions, 1 deletionTests/tests.json
- get_snapshot.f 1 addition, 1 deletionget_snapshot.f
Loading
Please register or sign in to comment