Skip to content

when run "python run_da_routine.py ph -s 5 -b 15", an error occurs #2

@liming489

Description

@liming489

The detailed errors are as follows:

DA ANALYSIS FOR ph USING TLS
OBS: TLS requires Cons_test AS03 or MC, set to AS03 (default)
Traceback (most recent call last):
File "run_da_routine.py", line 72, in
YEAR, OBS, FP, NX, CNTL = prefilt(ARGS.var, INPATH, ARGS.Ctype, np.asarray(ARGS.sigma), np.asarray(ARGS.base_per), START_YEAR_FORCING, ARGS.background, ARGS.member)
File "/mnt/g/PyDnA-master/load_fil_data.py", line 40, in prefilt
aoa = xr.open_dataset(in_pth+'/MPI-ESM-LR_hist_AOA_'+modname+'.nc').squeeze()
File "/home/lim489/anaconda3/envs/gis/lib/python3.7/site-packages/xarray/backends/api.py", line 479, in open_dataset
engine = plugins.guess_engine(filename_or_obj)
File "/home/lim489/anaconda3/envs/gis/lib/python3.7/site-packages/xarray/backends/plugins.py", line 110, in guess_engine
engines = list_engines()
File "/home/lim489/anaconda3/envs/gis/lib/python3.7/site-packages/xarray/backends/plugins.py", line 105, in list_engines
entrypoints = entry_points().get("xarray.backends", ())
AttributeError: 'EntryPoints' object has no attribute 'get'

Could you give me some suggestion? Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions