Skip to content
This repository was archived by the owner on Sep 21, 2025. It is now read-only.

Commit c14d05e

Browse files
committed
fixed wrong import
1 parent 89200cf commit c14d05e

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/mopdb/mopdb_map.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def get_file_frq(ds, fnext, int2frq):
111111
# so we open also next file but get only time axs
112112
if max_len == 1:
113113
if fnext is None:
114-
mopdb_log.info(f"Only 1 file with 1 tstep cannot determine frequency")
114+
mopdb_log.info("Only 1 file with 1 tstep cannot determine frequency")
115115
else:
116116
dsnext = xr.open_dataset(fnext, decode_times = False)
117117
time_axs2 = [d for d in dsnext.dims if 'time' in d]

src/mopper/mopper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,10 @@
3939
ij_axis, ll_axis, define_grid, get_coords, get_axis_dim,
4040
require_bounds, get_bounds, get_attrs, extract_var, define_attrs)
4141
from mopper.mop_setup import setup_env, var_map, manage_env
42-
from mopper.setup_utils import (create_exp_json, edit_json_cv, write_config,
42+
from mopper.setup_utils import (create_exp_json, write_config,
4343
populate_db, count_rows, sum_file_sizes, filelist_sql, write_job)
4444
from mopdb.mopdb_utils import db_connect, create_table, query
45+
from cmip_utils import edit_json_cv
4546

4647
warnings.simplefilter(action='ignore', category=FutureWarning)
4748
warnings.simplefilter(action='ignore', category=UserWarning)

0 commit comments

Comments
 (0)