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

FutureWarning often appear #156

Open
charlesweijun opened this issue Nov 29, 2021 · 1 comment
Open

FutureWarning often appear #156

charlesweijun opened this issue Nov 29, 2021 · 1 comment

Comments

@charlesweijun
Copy link

there is always a FutureWarning statement when running ModEM model buildup

Expected Behavior

The statement will disppear.

Current Behavior

The Console show the warings as follow:
C:\Users\lenovo.conda\envs\wilson37\lib\site-packages\pyproj\crs\crs.py:280: FutureWarning: '+init=:' syntax is deprecated. ':' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
projstring = _prepare_from_string(projparams)

Possible Solution

Steps to Reproduce (for bugs)

# Paste your code here
#
#

Context

Your Environment

  • Operating system: windows 10
  • MtPy version:
  • Python version: 3.7.10
  • Matplotlib version:3.2.1
  • Matplotlib backend (print(matplotlib.get_backend())):
  • QT version:

Installed Python Packages:
use pip freeze or conda list [-n ENVIRONMENT_NAME] to list all the installed libraries.

pyproj==1.9.6
#obspy==1.1.0
sphinx>=1.8.3

@kujaku11
Copy link
Collaborator

@charlesweijun This is a warning that comes with newer versions of pyproj. We will need to go through and update gis_tools and all functions that use pyproj to get rid of this warning, probably won't happen quickly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants