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

Warnings #84

Open
kasra-keshavarz opened this issue Jan 31, 2024 · 0 comments
Open

Warnings #84

kasra-keshavarz opened this issue Jan 31, 2024 · 0 comments

Comments

@kasra-keshavarz
Copy link
Collaborator

kasra-keshavarz commented Jan 31, 2024

There are multiple deprecation warnings printed to the users. An example is in the following:

/path/toEASYMORE/src/easymore/remapper.py:521: UserWarning: Column names longer than 10 characters will be truncated when saved to ESRI Shapefile.
  shp_int.to_file(self.temp_dir+self.case_name+'_intersected_shapefile.shp') # save the intersected files
/path/to/EASYMORE/src/easymore/remapper.py:558: PendingDeprecationWarning: dropping variables using `drop` will be deprecated; using drop_vars is encouraged.
  attr = attr.drop('index')
/cvmfs/soft.computecanada.ca/easybuild/software/2020/avx2/Compiler/gcc9/eccodes/2.25.0/lib/python3.10/site-packages/cfgrib-0.9.10.1-py3.10.egg/cfgrib/xarray_plugin.py:11: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
/path/to/virtual-envs/scienv2/lib/python3.10/site-packages/setuptools/_distutils/version.py:345: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  other = LooseVersion(other)

It would be great if these (or mainly, the deprecation ones) could be addressed.

@kasra-keshavarz kasra-keshavarz changed the title deprecation warnings Warnings Jan 31, 2024
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

1 participant