-
Notifications
You must be signed in to change notification settings - Fork 145
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into remove-IO-dev-tests
- Loading branch information
Showing
13 changed files
with
241 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
! DART software - Copyright UCAR. This open source software is provided | ||
! by UCAR, "as is", without charge, subject to all terms of use at | ||
! http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
program test_beta_distribution | ||
|
||
use utilities_mod, only : initialize_utilities, finalize_utilities | ||
use beta_distribution_mod, only : test_beta | ||
|
||
implicit none | ||
|
||
call initialize_utilities() | ||
call test_beta() | ||
call finalize_utilities() | ||
|
||
end program test_beta_distribution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
&utilities_nml | ||
module_details = .false. | ||
/ | ||
|
||
&preprocess_nml | ||
input_obs_qty_mod_file = '../../../assimilation_code/modules/observations/DEFAULT_obs_kind_mod.F90' | ||
output_obs_qty_mod_file = '../../../assimilation_code/modules/observations/obs_kind_mod.f90' | ||
input_obs_def_mod_file = '../../../observations/forward_operators/DEFAULT_obs_def_mod.F90' | ||
output_obs_def_mod_file = '../../../observations/forward_operators/obs_def_mod.f90' | ||
obs_type_files = '../../../observations/forward_operators/obs_def_gps_mod.f90' | ||
quantity_files = '../../../assimilation_code/modules/observations/default_quantities_mod.f90' | ||
/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
# DART software - Copyright UCAR. This open source software is provided | ||
# by UCAR, "as is", without charge, subject to all terms of use at | ||
# http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
main() { | ||
|
||
|
||
export DART=$(git rev-parse --show-toplevel) | ||
source "$DART"/build_templates/buildfunctions.sh | ||
|
||
MODEL="none" | ||
EXTRA="$DART"/models/template/threed_model_mod.f90 | ||
dev_test=1 | ||
LOCATION="threed_sphere" | ||
TEST="beta_dist" | ||
|
||
serial_programs=( | ||
test_beta_dist | ||
) | ||
|
||
# quickbuild arguments | ||
arguments "$@" | ||
|
||
# clean the directory | ||
\rm -f -- *.o *.mod Makefile .cppdefs | ||
|
||
# build and run preprocess before making any other DART executables | ||
buildpreprocess | ||
|
||
# build DART | ||
buildit | ||
|
||
# clean up | ||
\rm -f -- *.o *.mod | ||
|
||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
! DART software - Copyright UCAR. This open source software is provided | ||
! by UCAR, "as is", without charge, subject to all terms of use at | ||
! http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
program test_gamma_distribution | ||
|
||
use utilities_mod, only : initialize_utilities, finalize_utilities | ||
use gamma_distribution_mod, only : test_gamma | ||
|
||
implicit none | ||
|
||
call initialize_utilities() | ||
call test_gamma() | ||
call finalize_utilities() | ||
|
||
end program test_gamma_distribution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
&utilities_nml | ||
module_details = .false. | ||
/ | ||
|
||
&preprocess_nml | ||
input_obs_qty_mod_file = '../../../assimilation_code/modules/observations/DEFAULT_obs_kind_mod.F90' | ||
output_obs_qty_mod_file = '../../../assimilation_code/modules/observations/obs_kind_mod.f90' | ||
input_obs_def_mod_file = '../../../observations/forward_operators/DEFAULT_obs_def_mod.F90' | ||
output_obs_def_mod_file = '../../../observations/forward_operators/obs_def_mod.f90' | ||
obs_type_files = '../../../observations/forward_operators/obs_def_gps_mod.f90' | ||
quantity_files = '../../../assimilation_code/modules/observations/default_quantities_mod.f90' | ||
/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
# DART software - Copyright UCAR. This open source software is provided | ||
# by UCAR, "as is", without charge, subject to all terms of use at | ||
# http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
main() { | ||
|
||
|
||
export DART=$(git rev-parse --show-toplevel) | ||
source "$DART"/build_templates/buildfunctions.sh | ||
|
||
MODEL="none" | ||
EXTRA="$DART"/models/template/threed_model_mod.f90 | ||
dev_test=1 | ||
LOCATION="threed_sphere" | ||
TEST="gamma_dist" | ||
|
||
serial_programs=( | ||
test_gamma_dist | ||
) | ||
|
||
# quickbuild arguments | ||
arguments "$@" | ||
|
||
# clean the directory | ||
\rm -f -- *.o *.mod Makefile .cppdefs | ||
|
||
# build and run preprocess before making any other DART executables | ||
buildpreprocess | ||
|
||
# build DART | ||
buildit | ||
|
||
# clean up | ||
\rm -f -- *.o *.mod | ||
|
||
} | ||
|
||
main "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
! DART software - Copyright UCAR. This open source software is provided | ||
! by UCAR, "as is", without charge, subject to all terms of use at | ||
! http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
program test_normal_distribution | ||
|
||
use utilities_mod, only : initialize_utilities, finalize_utilities | ||
use normal_distribution_mod, only : test_normal | ||
|
||
implicit none | ||
|
||
call initialize_utilities() | ||
call test_normal() | ||
call finalize_utilities() | ||
|
||
end program test_normal_distribution |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
&utilities_nml | ||
module_details = .false. | ||
/ | ||
|
||
&preprocess_nml | ||
input_obs_qty_mod_file = '../../../assimilation_code/modules/observations/DEFAULT_obs_kind_mod.F90' | ||
output_obs_qty_mod_file = '../../../assimilation_code/modules/observations/obs_kind_mod.f90' | ||
input_obs_def_mod_file = '../../../observations/forward_operators/DEFAULT_obs_def_mod.F90' | ||
output_obs_def_mod_file = '../../../observations/forward_operators/obs_def_mod.f90' | ||
obs_type_files = '../../../observations/forward_operators/obs_def_gps_mod.f90' | ||
quantity_files = '../../../assimilation_code/modules/observations/default_quantities_mod.f90' | ||
/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
#!/usr/bin/env bash | ||
|
||
# DART software - Copyright UCAR. This open source software is provided | ||
# by UCAR, "as is", without charge, subject to all terms of use at | ||
# http://www.image.ucar.edu/DAReS/DART/DART_download | ||
|
||
main() { | ||
|
||
|
||
export DART=$(git rev-parse --show-toplevel) | ||
source "$DART"/build_templates/buildfunctions.sh | ||
|
||
MODEL="none" | ||
EXTRA="$DART"/models/template/threed_model_mod.f90 | ||
dev_test=1 | ||
LOCATION="threed_sphere" | ||
TEST="normal_dist" | ||
|
||
serial_programs=( | ||
test_normal_dist | ||
) | ||
|
||
# quickbuild arguments | ||
arguments "$@" | ||
|
||
# clean the directory | ||
\rm -f -- *.o *.mod Makefile .cppdefs | ||
|
||
# build and run preprocess before making any other DART executables | ||
buildpreprocess | ||
|
||
# build DART | ||
buildit | ||
|
||
# clean up | ||
\rm -f -- *.o *.mod | ||
|
||
} | ||
|
||
main "$@" |