Skip to content

Commit 7ee9ed9

Browse files
Merge pull request #399 from NCAR/bug-fix_perturb
Error out when interf_provided = .false. for perturb_single_instance
2 parents 65c33a7 + c4db6cf commit 7ee9ed9

File tree

4 files changed

+18
-7
lines changed

4 files changed

+18
-7
lines changed

.github/pull_request_template.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,12 @@ Please describe any tests you ran to verify your changes.
2424

2525
- [ ] Updated changelog entry
2626
- [ ] Documentation updated
27-
- [ ] Version tag
27+
- [ ] Update conf.py
28+
29+
## Checklist for release
30+
- [ ] Merge into main
31+
- [ ] Create release from the main branch with appropriate tag
32+
- [ ] Delete feature-branch
2833

2934
## Testing Datasets
3035

CHANGELOG.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,12 @@ individual files.
2222

2323
The changes are now listed with the most recent at the top.
2424

25+
**September 23 2022 :: Bug-fix for pertub_single_instance. Tag v10.5.1**
26+
27+
- Program perturb_single_instance was running without perturbing when
28+
interf_provided = .false. (silent fail).
29+
Model specific pert_model_copies is now required to run perturb_single_instance
30+
2531
**September 22 2022 :: CAM-SE. Tag: v10.5.0**
2632

2733
- CAM-SE interface for Manhattan

assimilation_code/programs/perturb_single_instance/perturb_single_instance.f90

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22
! by UCAR, "as is", without charge, subject to all terms of use at
33
! http://www.image.ucar.edu/DAReS/DART/DART_download
44

5-
!>@todo FIXME the html needs to be made consistent with the namelist once the namelist
6-
!> is fleshed out.
75

86
!> This is a utility program that computes an ensemble of restarts
9-
!> using the models pert_model_copies, if provided, or uses standard
10-
!> gaussian noise with perturbation_amplitude standard deviation if
11-
!> no routine is provided.
7+
!> using the model_mod pert_model_copies
128

139
program perturb_single_instance
1410

@@ -196,6 +192,10 @@ program perturb_single_instance
196192
enddo
197193

198194
call pert_model_copies(ens_handle, ens_size, perturbation_amplitude, interf_provided)
195+
if (.not. interf_provided) then
196+
call error_handler(E_ERR, 'model_mod::pert_model_copies interface required', source)
197+
endif
198+
199199

200200
!----------------------------------------------------------------------
201201
! can be ens_size but rather a single file

conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
author = 'Data Assimilation Research Section'
2222

2323
# The full version, including alpha/beta/rc tags
24-
release = '10.5.0'
24+
release = '10.5.1'
2525
master_doc = 'README'
2626

2727
# -- General configuration ---------------------------------------------------

0 commit comments

Comments
 (0)