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

rename scripts to dartwrf

parent f0113e07
No related branches found
No related tags found
No related merge requests found
......@@ -2,7 +2,7 @@
slurm-scripts/
logs/
dask-worker-space/
DART_WRF.egg*
dartwrf.egg*
build*
._*
.vscode
......
......@@ -5,10 +5,10 @@ import numpy as np
from scipy.interpolate import interp1d
from config.cfg import exp, cluster
from utils import symlink, copy, sed_inplace, append_file, mkdir, try_remove, print
import create_obsseq as osq
import wrfout_add_geo
import obsseq
from .utils import symlink, copy, sed_inplace, append_file, mkdir, try_remove, print
from . import create_obsseq as osq
from . import wrfout_add_geo
from . import obsseq
earth_radius_km = 6370
......
import os, glob
from config.cfg import exp, cluster
from utils import try_remove
from .utils import try_remove
"""Run this script after an experiment to reduce cluster disk usage.
......
import os
from config.cfg import exp, cluster
from utils import symlink, copy_scp_srvx8, copy, sed_inplace
from .utils import symlink, copy_scp_srvx8, copy, sed_inplace
joinp = os.path.join
......
......@@ -3,7 +3,7 @@ import numpy as np
import pandas as pd
from config.cfg import exp, cluster
from utils import symlink, copy, sed_inplace, append_file, mkdir, try_remove
from .utils import symlink, copy, sed_inplace, append_file, mkdir, try_remove
def plot_box(m, lat, lon, label="", **kwargs):
......
......@@ -2,7 +2,7 @@ import os, sys, warnings, glob
import datetime as dt
from config.cfg import exp, cluster
from utils import copy, clean_wrfdir, try_remove
from .utils import copy, clean_wrfdir, try_remove
"""
Sets initial condition data (wrfinput/wrfrst file) in the run_WRF directory for each ensemble member
......
......@@ -12,7 +12,7 @@ import os, sys, shutil, warnings
import datetime as dt
from docopt import docopt
from config.cfg import exp, cluster
from utils import sed_inplace, copy, symlink, mkdir
from .utils import sed_inplace, copy, symlink, mkdir
def run(iens, begin, end, hist_interval=5, radt=5, archive=True,
restart=False, restart_interval=720):
......
import os, sys, shutil
import datetime as dt
from config.cfg import exp, cluster
from utils import symlink, copy, link_contents
from .utils import symlink, copy, link_contents
import prepare_namelist
from . import prepare_namelist
init_time = dt.datetime.strptime(sys.argv[1], '%Y-%m-%d_%H:%M')
......
import os, sys, shutil, glob
from config.cfg import exp, cluster
from utils import symlink, copy, sed_inplace, append_file
from .utils import symlink, copy, sed_inplace, append_file
rundir_program = '/home/fs71386/lkugler/data/run_DART/'
......
......@@ -20,7 +20,7 @@ def read_requirements(fname):
setuptools.setup(
name="DART-WRF",
name="dartwrf",
version="2021.12.14",
author="Lukas Kugler",
author_email="lukas.kugler@univie.ac.at",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment