Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix for older iris versions (<3.10) #431

Merged
merged 4 commits into from
Nov 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/src/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"""

from datetime import datetime
import locale
import os
from pathlib import Path
import re
Expand All @@ -26,6 +27,7 @@
os.environ["ESMFMKFILE"] = f"{rtd_conda_prefix}/lib/esmf.mk"
os.environ["PROJ_DATA"] = f"{rtd_conda_prefix}/share/proj"
os.environ["PROJ_NETWORK"] = "OFF"
locale.setlocale(locale.LC_NUMERIC, "C")


# -- Project information -----------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion esmf_regrid/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
raise exc

if hasattr(_imesh, "PARSE_UGRID_ON_LOAD"):
_load_context = _imesh.PARSE_UGRID_ON_LOAD
_load_context = _imesh.PARSE_UGRID_ON_LOAD.context
else:
from contextlib import nullcontext

Expand Down