[Dart-dev] DART/branches Revision: 12560

dart at ucar.edu dart at ucar.edu
Thu Apr 26 10:52:37 MDT 2018


nancy at ucar.edu
2018-04-26 10:52:37 -0600 (Thu, 26 Apr 2018)
92
add back in the comment about how to do this with the nco tools,
which is still an option.




Modified: DART/branches/rma_fill_inf/assimilation_code/programs/fill_inflation_restart/fill_inflation_restart.f90
===================================================================
--- DART/branches/rma_fill_inf/assimilation_code/programs/fill_inflation_restart/fill_inflation_restart.f90	2018-04-26 16:41:59 UTC (rev 12559)
+++ DART/branches/rma_fill_inf/assimilation_code/programs/fill_inflation_restart/fill_inflation_restart.f90	2018-04-26 16:52:37 UTC (rev 12560)
@@ -5,7 +5,16 @@
 ! $Id$
 
 !----------------------------------------------------------------------
-!> purpose: test model_mod routines.
+!> purpose: generate initial inflation files so an experiment starting up
+!> can always start from a restart file without having to alter the namelist
+!> between cycles 1 and 2.
+!>
+!> an alternative to running this program is to use the nco utilities thus:
+!>
+!> Here is an example using version 4.4.2 or later of the NCO tools:
+!>   ncap2 -s "T=1.0;U=1.0;V=1.0" wrfinput_d01 prior_inflation_mean.nc
+!>   ncap2 -s "T=0.6;U=0.6;V=0.6" wrfinput_d01 prior_inflation_sd.nc'
+!>
 !----------------------------------------------------------------------
 
 program fill_inflation_restart
@@ -70,11 +79,6 @@
 ! The namelist variables
 !------------------------------------------------------------------
 
-!>@todo FIXME:
-! input num_ens could = 1
-! and output num_ens could be 4, and only the ones being used could
-! be written.
-
 logical                       :: single_file = .false.
 integer                       :: num_ens = 2 !#! {prior,posterior}_inf_{mean,sd}
 character(len=256)            :: input_state_files(MAX_FILES)  = 'null'
@@ -89,6 +93,10 @@
 integer  :: ss_inflate_index    = 1 
 integer  :: ss_inflate_sd_index = 2
 
+!>@todo FIXME
+! output_state_files shouldn't be in the namelist, right?  we hardcode this now.
+! in the multi-file case we have fixed names.  in the single-file case we can
+! update whatever they give us as input.
 namelist /fill_inflation_restart_nml/  prior_inf_mean, prior_inf_sd, &
                                post_inf_mean, post_inf_sd, verbose,  &
                                write_prior_inf, write_post_inf, &


More information about the Dart-dev mailing list