Skip to content

Commit

Permalink
Merge branch 'dev' into etc-update
Browse files Browse the repository at this point in the history
  • Loading branch information
cmarshak committed Jun 28, 2023
2 parents bb119f4 + 7225a8d commit c3f53b6
Show file tree
Hide file tree
Showing 42 changed files with 365,461 additions and 121,926 deletions.
9 changes: 8 additions & 1 deletion test/__init__.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import os
import pytest
import subprocess
import shutil
from contextlib import contextmanager
from pathlib import Path

Expand All @@ -13,6 +14,7 @@
DATA_DIR = os.path.join(TEST_DIR, 'data')
GEOM_DIR = os.path.join(TEST_DIR, 'test_geom')
WM_DIR = os.path.join(TEST_DIR, 'weather_files')
ORB_DIR = os.path.join(TEST_DIR, 'orbit_files')

WM = 'GMAO'

Expand Down Expand Up @@ -70,4 +72,9 @@ def makeLatLonGrid(bbox, reg, out_dir, spacing=0.1):
da_lat.to_netcdf(dst_lat)
da_lon.to_netcdf(dst_lon)

return dst_lat, dst_lon
return dst_lat, dst_lon


def make_delay_name(weather_model_name, date, time, kind='ztd'):
assert kind in 'ztd std ray'.split(), 'Incorrect type of delays.'
return f'{weather_model_name}_tropo_{date}T{time.replace(":", "")}_{kind}.nc'
File renamed without changes.
Loading

0 comments on commit c3f53b6

Please sign in to comment.