diff --git a/dartwrf/assim_synth_obs.py b/dartwrf/assim_synth_obs.py index 89dd560d0cc6918d72554bf243a41719cbfd3ee0..460375e2d8a8004af46fb9f6dd77f5367d264e8b 100755 --- a/dartwrf/assim_synth_obs.py +++ b/dartwrf/assim_synth_obs.py @@ -229,13 +229,13 @@ def archive_filteroutput(time): def get_parametrized_error(obscfg, osf_prior): """Calculate the parametrized error for an ObsConfig (one obs type) - Args - obscfg (object): configuration of observations - osf_prior (obsseq.ObsRecord): contains truth and prior values from obs_seq.final + Args: + obscfg (object): Configuration of observations + osf_prior (obsseq.ObsRecord): Contains truth and prior values from obs_seq.final (output of ./final in evaluate-mode (no posterior)) - Returns - np.array observation error std-dev for assimilation + Returns: + np.array: observation error std-dev for assimilation """ Hx_prior = osf_prior.get_prior_Hx().T Hx_truth = osf_prior.get_truth_Hx() @@ -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 Args: - oso (ObsSeq) : python representation of obs_seq.out file, - will be modified and written to file + oso (ObsSeq): python representation of obs_seq.out 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) contains prior values; used for parameterized errors diff --git a/dartwrf/config b/dartwrf/config deleted file mode 120000 index 4088526854d4f1d637653a0436624cdcf75dceb9..0000000000000000000000000000000000000000 --- a/dartwrf/config +++ /dev/null @@ -1 +0,0 @@ -../config/ \ No newline at end of file diff --git a/dartwrf/obsseq_to_netcdf.py b/dartwrf/obsseq_to_netcdf.py index 40765952cc46edf231b0ce306fdf00ddacdd36f6..2b5ba45716f391f5e6bbccd78e096fd411702236 100644 --- a/dartwrf/obsseq_to_netcdf.py +++ b/dartwrf/obsseq_to_netcdf.py @@ -2,7 +2,7 @@ import os, sys, glob, warnings from config.cfg import exp from config.cluster import cluster -import run_obs_diag as rod +import dartwrf.run_obs_diag as rod def listdir_dirs(path): return [a for a in os.listdir(path) if os.path.isdir(os.path.join(path, a))] diff --git a/dartwrf/prepare_wrfrundir.py b/dartwrf/prepare_wrfrundir.py index d38cedab19e661032c48f11987faa570c1a68dab..82d6acc4917365a99536b463b3be4bf42969b88d 100755 --- a/dartwrf/prepare_wrfrundir.py +++ b/dartwrf/prepare_wrfrundir.py @@ -4,7 +4,7 @@ import datetime as dt from config.cfg import exp from config.cluster import cluster from dartwrf.utils import symlink, copy, link_contents -import prepare_namelist +from dartrwrf import prepare_namelist if __name__ == '__main__': diff --git a/docs/source/dartwrf.rst b/docs/source/dartwrf.rst index c01ca5f05b67bd11049bc8b1d4c8f04945cc392e..996f7fda3f3a827a8cc10735cbab20136aead584 100644 --- a/docs/source/dartwrf.rst +++ b/docs/source/dartwrf.rst @@ -7,7 +7,6 @@ Subpackages .. toctree:: :maxdepth: 4 - dartwrf.config dartwrf.obs Submodules diff --git a/docs/source/index.rst b/docs/source/index.rst index 96baadeca3f9c2d87e9525fede32af54b25a4fe3..77b37ddefebf05ab503c44bac96a58121a30fb7a 100644 --- a/docs/source/index.rst +++ b/docs/source/index.rst @@ -18,7 +18,7 @@ DART-WRF is available at `github.com/lkugler/DART-WRF <https://github.com/lkugle 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>`_