-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 3DVar and error covariance toolbox (dirac test) main programs. (#106
) * Add 3DVar and error covariance toolbox (dirac test) main programs. * Add interpolator increment apply and adjoint methods and add increment to state method. * Update ci container (#117) * Add reference data for 3dvar and dirac application tests. Turn off creation of json schema again for 3dvar and errorcovariancetoolbox applications. Co-authored-by: Toby Searle <[email protected]>
- Loading branch information
Showing
32 changed files
with
777 additions
and
24 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
1.3.0 | ||
1.4.0 |
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,36 @@ | ||
/* | ||
* (C) British Crown Copyright 2024 MetOffice | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
|
||
#include "atlas/library/Library.h" | ||
#include "oops/generic/instantiateModelFactory.h" | ||
|
||
#include "oops/runs/Run.h" | ||
#include "oops/runs/Variational.h" | ||
#include "saber/oops/instantiateCovarFactory.h" | ||
|
||
#include "ufo/ObsTraits.h" | ||
#include "ufo/instantiateObsFilterFactory.h" | ||
#if defined(NEMO_FEEDBACK_EXISTS) | ||
#include "nemo-feedback/instantiateObsFilterFactory.h" | ||
#endif | ||
|
||
#include "orca-jedi/utilities/OrcaModelTraits.h" | ||
|
||
int main(int argc, char ** argv) { | ||
oops::Run run(argc, argv); | ||
oops::instantiateModelFactory<orcamodel::OrcaModelTraits>(); | ||
atlas::Library::instance().initialise(); | ||
saber::instantiateCovarFactory<orcamodel::OrcaModelTraits>(); | ||
ufo::instantiateObsFilterFactory(); | ||
#if defined(NEMO_FEEDBACK_EXISTS) | ||
nemo_feedback::instantiateObsFilterFactory<ufo::ObsTraits>(); | ||
#endif | ||
oops::Variational<orcamodel::OrcaModelTraits , ufo::ObsTraits> var; | ||
int i = run.execute(var); | ||
atlas::Library::instance().finalise(); | ||
return i; | ||
} |
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,25 @@ | ||
/* | ||
* (C) British Crown Copyright 2024 MetOffice | ||
* | ||
* This software is licensed under the terms of the Apache Licence Version 2.0 | ||
* which can be obtained at http://www.apache.org/licenses/LICENSE-2.0. | ||
*/ | ||
|
||
#include "atlas/library/Library.h" | ||
|
||
#include "saber/oops/ErrorCovarianceToolbox.h" | ||
#include "saber/oops/instantiateCovarFactory.h" | ||
|
||
#include "oops/runs/Run.h" | ||
#include "orca-jedi/utilities/OrcaModelTraits.h" | ||
|
||
int main(int argc, char ** argv) { | ||
oops::Run run(argc, argv); | ||
atlas::Library::instance().initialise(); | ||
saber::instantiateCovarFactory<orcamodel::OrcaModelTraits>(); | ||
|
||
saber::ErrorCovarianceToolbox<orcamodel::OrcaModelTraits> var; | ||
int i = run.execute(var); | ||
atlas::Library::instance().finalise(); | ||
return i; | ||
} |
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
Oops, something went wrong.