[Dart-dev] [3936] DART/trunk/observations/utilities: Make a corresponding oned directory where the obs_sequence_tool

nancy at ucar.edu nancy at ucar.edu
Fri Jun 19 12:53:19 MDT 2009


An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20090619/e5d05b71/attachment.html 
-------------- next part --------------
Added: DART/trunk/observations/utilities/oned/input.nml
===================================================================
--- DART/trunk/observations/utilities/oned/input.nml	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/input.nml	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,46 @@
+
+&preprocess_nml
+    input_obs_kind_mod_file = '../../../obs_kind/DEFAULT_obs_kind_mod.F90',
+   output_obs_kind_mod_file = '../../../obs_kind/obs_kind_mod.f90',
+     input_obs_def_mod_file = '../../../obs_def/DEFAULT_obs_def_mod.F90',
+    output_obs_def_mod_file = '../../../obs_def/obs_def_mod.f90',
+   input_files              = '../../../obs_def/obs_def_1d_state_mod.f90',
+   /
+
+&obs_sequence_tool_nml
+   num_input_files = 1, 
+   filename_seq = 'obs_seq.out',
+   filename_out = 'obs_seq.processed', 
+   first_obs_days = -1, 
+   first_obs_seconds = -1, 
+   last_obs_days = -1, 
+   last_obs_seconds = -1, 
+   obs_types = '', 
+   keep_types = .false., 
+   print_only = .false., 
+   min_lat = -90.0, 
+   max_lat =  90.0, 
+   min_lon =   0.0, 
+   max_lon = 360.0
+   /
+
+&obs_sequence_nml
+   write_binary_obs_sequence = .false.  /
+
+&utilities_nml
+   TERMLEVEL = 1,
+   module_details = .true.,
+   logfilename = 'dart_log.out',
+   nmlfilename = 'dart_log.nml'
+   /
+
+&assim_tools_nml
+   /
+
+&obs_kind_nml
+   /
+
+&location_nml
+   /
+
+

Added: DART/trunk/observations/utilities/oned/mkmf_obs_sequence_tool
===================================================================
--- DART/trunk/observations/utilities/oned/mkmf_obs_sequence_tool	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/mkmf_obs_sequence_tool	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,15 @@
+#!/bin/csh
+#
+# Data Assimilation Research Testbed -- DART
+# Copyright 2004-2007, Data Assimilation Research Section
+# University Corporation for Atmospheric Research
+# Licensed under the GPL -- www.gpl.org/licenses/gpl.html
+#
+# <next few lines under version control, do not edit>
+# $URL: https://subversion.ucar.edu/DAReS/DART/trunk/observations/utilities/threed_sphere/mkmf_obs_sequence_tool $
+# $Id: mkmf_obs_sequence_tool 3836 2009-05-01 00:25:15Z thoar $
+# $Revision: 3836 $
+# $Date: 2009-04-30 18:25:15 -0600 (Thu, 30 Apr 2009) $
+#
+../../../mkmf/mkmf -p obs_sequence_tool -t ../../../mkmf/mkmf.template -c"-Duse_netCDF" \
+ -a "../../.." path_names_obs_sequence_tool


Property changes on: DART/trunk/observations/utilities/oned/mkmf_obs_sequence_tool
___________________________________________________________________
Name: svn:executable
   + *

Added: DART/trunk/observations/utilities/oned/mkmf_preprocess
===================================================================
--- DART/trunk/observations/utilities/oned/mkmf_preprocess	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/mkmf_preprocess	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,15 @@
+#!/bin/csh
+#
+# Data Assimilation Research Testbed -- DART
+# Copyright 2004-2007, Data Assimilation Research Section
+# University Corporation for Atmospheric Research
+# Licensed under the GPL -- www.gpl.org/licenses/gpl.html
+#
+# <next few lines under version control, do not edit>
+# $URL: https://subversion.ucar.edu/DAReS/DART/trunk/observations/utilities/threed_sphere/mkmf_preprocess $
+# $Id: mkmf_preprocess 3836 2009-05-01 00:25:15Z thoar $
+# $Revision: 3836 $
+# $Date: 2009-04-30 18:25:15 -0600 (Thu, 30 Apr 2009) $
+#
+../../../mkmf/mkmf -p preprocess -t ../../../mkmf/mkmf.template -c"-Duse_netCDF" \
+ -a "../../.." path_names_preprocess


Property changes on: DART/trunk/observations/utilities/oned/mkmf_preprocess
___________________________________________________________________
Name: svn:executable
   + *

Added: DART/trunk/observations/utilities/oned/path_names_obs_sequence_tool
===================================================================
--- DART/trunk/observations/utilities/oned/path_names_obs_sequence_tool	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/path_names_obs_sequence_tool	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,14 @@
+assim_model/assim_model_mod.f90
+common/types_mod.f90
+location/oned/location_mod.f90
+models/template/model_mod.f90
+mpi_utilities/null_mpi_utilities_mod.f90
+obs_def/obs_def_mod.f90
+obs_kind/obs_kind_mod.f90
+obs_sequence/obs_sequence_mod.f90
+obs_sequence/obs_sequence_tool.f90
+cov_cutoff/cov_cutoff_mod.f90
+random_nr/random_nr_mod.f90
+random_seq/random_seq_mod.f90
+time_manager/time_manager_mod.f90
+utilities/utilities_mod.f90

Added: DART/trunk/observations/utilities/oned/path_names_preprocess
===================================================================
--- DART/trunk/observations/utilities/oned/path_names_preprocess	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/path_names_preprocess	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,5 @@
+common/types_mod.f90
+mpi_utilities/null_mpi_utilities_mod.f90
+preprocess/preprocess.f90
+time_manager/time_manager_mod.f90
+utilities/utilities_mod.f90

Added: DART/trunk/observations/utilities/oned/quickbuild.csh
===================================================================
--- DART/trunk/observations/utilities/oned/quickbuild.csh	                        (rev 0)
+++ DART/trunk/observations/utilities/oned/quickbuild.csh	2009-06-19 18:53:19 UTC (rev 3936)
@@ -0,0 +1,100 @@
+#!/bin/csh
+#
+# Data Assimilation Research Testbed -- DART
+# Copyright 2004-2007, Data Assimilation Research Section
+# University Corporation for Atmospheric Research
+# Licensed under the GPL -- www.gpl.org/licenses/gpl.html
+#
+# <next few lines under version control, do not edit>
+# $URL: https://subversion.ucar.edu/DAReS/DART/trunk/observations/utilities/threed_sphere/quickbuild.csh $
+# $Id: quickbuild.csh 3869 2009-05-08 21:15:22Z thoar $
+# $Revision: 3869 $
+# $Date: 2009-05-08 15:15:22 -0600 (Fri, 08 May 2009) $
+
+# Script to manage the compilation of all components for this model;
+# executes a known "perfect model" experiment using an existing
+# observation sequence file (obs_seq.in) and initial conditions appropriate 
+# for both 'perfect_model_obs' (perfect_ics) and 'filter' (filter_ics).
+# There are enough initial conditions for 80 ensemble members in filter.
+# Use ens_size = 81 and it WILL bomb. Guaranteed.
+# The 'input.nml' file controls all facets of this execution.
+#
+# 'create_obs_sequence' and 'create_fixed_network_sequence' were used to
+# create the observation sequence file 'obs_seq.in' - this defines 
+# what/where/when we want observations. This script does not run these 
+# programs - intentionally. 
+#
+# 'perfect_model_obs' results in a True_State.nc file that contains 
+# the true state, and obs_seq.out - a file that contains the "observations"
+# that will be assimilated by 'filter'.
+#
+# 'filter' results in three files (at least): Prior_Diag.nc - the state 
+# of all ensemble members prior to the assimilation (i.e. the forecast), 
+# Posterior_Diag.nc - the state of all ensemble members after the 
+# assimilation (i.e. the analysis), and obs_seq.final - the ensemble 
+# members' estimate of what the observations should have been.
+#
+# Once 'perfect_model_obs' has advanced the model and harvested the 
+# observations for the assimilation experiment, 'filter' may be run 
+# over and over by simply changing the namelist parameters in input.nml.
+#
+# The result of each assimilation can be explored in model-space with
+# matlab scripts that directly read the netCDF output, or in observation-space.
+# 'obs_diag' is a program that will create observation-space diagnostics
+# for any result of 'filter' and results in a couple data files that can
+# be explored with yet more matlab scripts.
+#
+#----------------------------------------------------------------------
+# 'preprocess' is a program that culls the appropriate sections of the
+# observation module for the observations types in 'input.nml'; the 
+# resulting source file is used by all the remaining programs, 
+# so this MUST be run first.
+#----------------------------------------------------------------------
+
+\rm -f preprocess *.o *.mod
+\rm -f ../../../obs_def/obs_def_mod.f90
+\rm -f ../../../obs_kind/obs_kind_mod.f90
+
+set MODEL = "observations/utilities/threed_sphere"
+
+@ n = 1
+
+echo
+echo
+echo "---------------------------------------------------------------"
+echo "${MODEL} build number ${n} is preprocess"
+
+csh  mkmf_preprocess
+make || exit $n
+
+./preprocess || exit 99
+
+#----------------------------------------------------------------------
+# Build all the single-threaded targets
+#----------------------------------------------------------------------
+
+foreach TARGET ( mkmf_* )
+
+   set PROG = `echo $TARGET | sed -e 's#mkmf_##'`
+
+   switch ( $TARGET )
+   case mkmf_preprocess:
+      breaksw
+   default:
+      @ n = $n + 1
+      echo
+      echo "---------------------------------------------------"
+      echo "${MODEL} build number ${n} is ${PROG}" 
+      \rm -f ${PROG}
+      csh $TARGET || exit $n
+      make        || exit $n
+      breaksw
+   endsw
+end
+
+\rm -f *.o *.mod input.nml*_default
+
+echo ""
+echo "Success: All single task DART programs compiled."  
+echo ""
+exit 0


Property changes on: DART/trunk/observations/utilities/oned/quickbuild.csh
___________________________________________________________________
Name: svn:executable
   + *


More information about the Dart-dev mailing list