-
Notifications
You must be signed in to change notification settings - Fork 297
Closed
Labels
Good First IssueA good issue to take on if you're just getting started with Iris developmentA good issue to take on if you're just getting started with Iris developmentType: Documentation
Milestone
Description
📰 Custom Issue
Hey guys, me again 😁 Silly question - I have this snippet:
import iris
print(iris.__version__)
import numpy as np
lat_coord = iris.coords.Coord(
np.linspace(-90.0, 90.0, 100), var_name='lat',
standard_name='latitude', long_name='latitude', units='degrees')
and in iris=3.0.1
gives me this malarkey:
/home/valeriu/miniconda3/envs/iris31/lib/python3.9/site-packages/iris/config.py:139: UserWarning: Ignoring config item 'Resources':'test_data_dir' (section:option) as '/home/h05/itwl/projects/git/iris-test-data/test_data' is not a valid directory path.
warnings.warn(msg.format(section, option, c_path))
3.0.1
Traceback (most recent call last):
File "/home/valeriu/ESMValTool/testcoord.py", line 5, in <module>
lat_coord = iris.coords.Coord(
TypeError: Can't instantiate abstract class Coord with abstract method __init__
and in iris=2.4.0
it runs a-ok, with no warnings. First off, I don't understand the warning, it seems to be pointing to a location that's got nothing to do with me 😁 Second, why is it not constructing my coordinate? Looking at the latest documentation it seems support should be as previous version? Cheers muchly in advance, as usual, for great support 🍺
Metadata
Metadata
Assignees
Labels
Good First IssueA good issue to take on if you're just getting started with Iris developmentA good issue to take on if you're just getting started with Iris developmentType: Documentation