From 815dc09a2b40d4604fb01fed580cf047f0505a97 Mon Sep 17 00:00:00 2001
From: lkugler <lukas.kugler@gmail.com>
Date: Mon, 22 May 2023 18:42:43 +0200
Subject: [PATCH] docs

---
 dartwrf/dart_nml.py | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/dartwrf/dart_nml.py b/dartwrf/dart_nml.py
index f0c9108..2e4bf7c 100644
--- a/dartwrf/dart_nml.py
+++ b/dartwrf/dart_nml.py
@@ -258,13 +258,16 @@ def _get_list_of_localizations():
 
 
 def write_namelist(just_prior_values=False):
-    """Set DART namelist variables in 'input.nml' file.
+    """Write a DART namelist file ('input.nml')
     
-    1. Takes the default namelist is the one already defined in the DART source code
-    2. Calculates localization parameters from the observation configurations
+    1. Uses the default namelist (from the DART source code)
+    2. Calculates localization parameters from the experiment configuration
     3. Overwrites other parameters as defined in the experiment configuration
     4. Writes the namelist to the DART run directory
 
+    Note:
+        Vertical localization in pressure or levels is not implemented.
+
     Args:
         just_prior_values (bool, optional): If True, only compute prior values, not posterior. Defaults to False.
 
@@ -302,7 +305,7 @@ def write_namelist(just_prior_values=False):
     nml['&location_nml']['special_vert_normalization_levels'] = [[-1,]]
     nml['&location_nml']['special_vert_normalization_pressures'] = [[-1,]]
 
-    # overwrite namelist with experiment configuration
+    # overwrite namelist parameters as defined in the experiment configuration
     for section, sdata in exp.dart_nml.items():
 
         # if section is not in namelist, add it
-- 
GitLab