We want to always group the three shapefiles, that is actually nine
files, that make up a snapshot into a directory that contains only these files. We hope that this will ease the handling of snapshots. For now, this is useful in program test_successive_overlap. So, in program extraction_eddies, create the shapefiles in a directory called Snapshot. As we cannot create the directory from Fortran (in Fortran 2003, it becomes possible in Fortran 2008), we have to wrap the Fortran executable in a shell script "extraction_eddies.sh". In the same way, read from a directory Snapshot_old in programs test_read_eddy and test_read_snapshot and create scripts "test_read_eddy.sh" and "test_read_snapshot.sh". Reference the shell scripts "extraction_eddies.sh", "test_read_eddy.sh" and "test_read_snapshot.sh" in JSON test files. In program test_successive_overlap, finally read two snapshots, from directories Snapshot_1 and Snapshot_2. Pass to successive_overlap the date of the second snapshot. Use new variables corner_deg and step_deg to avoid converting to rad twice. Create directory Snapshot in Tests/Input/Region_4/2006_01_01.
Showing
- Tests/Input/Region_4/2006_01_01/Snapshot/extremum.dbf 0 additions, 0 deletionsTests/Input/Region_4/2006_01_01/Snapshot/extremum.dbf
- Tests/Input/Region_4/2006_01_01/Snapshot/extremum.shp 0 additions, 0 deletionsTests/Input/Region_4/2006_01_01/Snapshot/extremum.shp
- Tests/Input/Region_4/2006_01_01/Snapshot/extremum.shx 0 additions, 0 deletionsTests/Input/Region_4/2006_01_01/Snapshot/extremum.shx
- Tests/Input/Region_4/2006_01_01/Snapshot/max_speed_contour.dbf 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/max_speed_contour.dbf
- Tests/Input/Region_4/2006_01_01/Snapshot/max_speed_contour.shp 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/max_speed_contour.shp
- Tests/Input/Region_4/2006_01_01/Snapshot/max_speed_contour.shx 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/max_speed_contour.shx
- Tests/Input/Region_4/2006_01_01/Snapshot/outermost_contour.dbf 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/outermost_contour.dbf
- Tests/Input/Region_4/2006_01_01/Snapshot/outermost_contour.shp 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/outermost_contour.shp
- Tests/Input/Region_4/2006_01_01/Snapshot/outermost_contour.shx 0 additions, 0 deletions.../Input/Region_4/2006_01_01/Snapshot/outermost_contour.shx
- Tests/Input/successive_overlap_nml.txt 1 addition, 1 deletionTests/Input/successive_overlap_nml.txt
- Tests/Input/successive_overlap_periodic_nml.txt 2 additions, 2 deletionsTests/Input/successive_overlap_periodic_nml.txt
- Tests/Input/successive_overlap_region_5_nml.txt 1 addition, 1 deletionTests/Input/successive_overlap_region_5_nml.txt
- Tests/long_tests.json 3 additions, 3 deletionsTests/long_tests.json
- Tests/short_tests.json 29 additions, 76 deletionsTests/short_tests.json
- Tests/test_read_eddy.f90 4 additions, 3 deletionsTests/test_read_eddy.f90
- Tests/test_read_eddy.sh 6 additions, 0 deletionsTests/test_read_eddy.sh
- Tests/test_read_snapshot.f90 4 additions, 3 deletionsTests/test_read_snapshot.f90
- Tests/test_read_snapshot.sh 6 additions, 0 deletionsTests/test_read_snapshot.sh
- Tests/test_successive_overlap.f90 31 additions, 12 deletionsTests/test_successive_overlap.f90
- extraction_eddies.f90 3 additions, 3 deletionsextraction_eddies.f90
Loading
Please register or sign in to comment