Skip to content
Snippets Groups Projects
Commit 853c180a authored by lkugler's avatar lkugler
Browse files

minor things

parent a4cbd178
No related branches found
No related tags found
No related merge requests found
...@@ -229,13 +229,13 @@ def archive_filteroutput(time): ...@@ -229,13 +229,13 @@ def archive_filteroutput(time):
def get_parametrized_error(obscfg, osf_prior): def get_parametrized_error(obscfg, osf_prior):
"""Calculate the parametrized error for an ObsConfig (one obs type) """Calculate the parametrized error for an ObsConfig (one obs type)
Args Args:
obscfg (object): configuration of observations obscfg (object): Configuration of observations
osf_prior (obsseq.ObsRecord): contains truth and prior values from obs_seq.final osf_prior (obsseq.ObsRecord): Contains truth and prior values from obs_seq.final
(output of ./final in evaluate-mode (no posterior)) (output of ./final in evaluate-mode (no posterior))
Returns Returns:
np.array observation error std-dev for assimilation np.array: observation error std-dev for assimilation
""" """
Hx_prior = osf_prior.get_prior_Hx().T Hx_prior = osf_prior.get_prior_Hx().T
Hx_truth = osf_prior.get_truth_Hx() Hx_truth = osf_prior.get_truth_Hx()
...@@ -256,8 +256,7 @@ def set_obserr_assimilate_in_obsseqout(oso, osf_prior, outfile="./obs_seq.out"): ...@@ -256,8 +256,7 @@ def set_obserr_assimilate_in_obsseqout(oso, osf_prior, outfile="./obs_seq.out"):
""""Overwrite existing variance values in obs_seq.out files """"Overwrite existing variance values in obs_seq.out files
Args: Args:
oso (ObsSeq) : python representation of obs_seq.out file, oso (ObsSeq): python representation of obs_seq.out file, will be modified and written to file
will be modified and written to file
osf_prior (ObsSeq): python representation of obs_seq.final (output of filter in evaluate-mode without posterior) osf_prior (ObsSeq): python representation of obs_seq.final (output of filter in evaluate-mode without posterior)
contains prior values; used for parameterized errors contains prior values; used for parameterized errors
......
../config/
\ No newline at end of file
...@@ -2,7 +2,7 @@ import os, sys, glob, warnings ...@@ -2,7 +2,7 @@ import os, sys, glob, warnings
from config.cfg import exp from config.cfg import exp
from config.cluster import cluster from config.cluster import cluster
import run_obs_diag as rod import dartwrf.run_obs_diag as rod
def listdir_dirs(path): def listdir_dirs(path):
return [a for a in os.listdir(path) if os.path.isdir(os.path.join(path, a))] return [a for a in os.listdir(path) if os.path.isdir(os.path.join(path, a))]
......
...@@ -4,7 +4,7 @@ import datetime as dt ...@@ -4,7 +4,7 @@ import datetime as dt
from config.cfg import exp from config.cfg import exp
from config.cluster import cluster from config.cluster import cluster
from dartwrf.utils import symlink, copy, link_contents from dartwrf.utils import symlink, copy, link_contents
import prepare_namelist from dartrwrf import prepare_namelist
if __name__ == '__main__': if __name__ == '__main__':
......
...@@ -7,7 +7,6 @@ Subpackages ...@@ -7,7 +7,6 @@ Subpackages
.. toctree:: .. toctree::
:maxdepth: 4 :maxdepth: 4
dartwrf.config
dartwrf.obs dartwrf.obs
Submodules Submodules
......
...@@ -18,7 +18,7 @@ DART-WRF is available at `github.com/lkugler/DART-WRF <https://github.com/lkugle ...@@ -18,7 +18,7 @@ DART-WRF is available at `github.com/lkugler/DART-WRF <https://github.com/lkugle
Other helpful resources Other helpful resources
----------------------- -----------------------
**DART documentation** `[here] <https://docs.dart.ucar.edu/en/latest/README.html>`_ **DART documentation** `[docs.ucar.edu] <https://docs.dart.ucar.edu/en/latest/README.html>`_
**WRF user guide** `[here] <http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_v4/v4.2/WRFUsersGuide_v42.pdf>`_ **WRF user guide** `[here] <http://www2.mmm.ucar.edu/wrf/users/docs/user_guide_v4/v4.2/WRFUsersGuide_v42.pdf>`_
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment