While testing NES for PHENOMENA and while doing the porting to MN5, the following changes have been introduced:
- Two bugs related to deprecation of Shapely and NumPy functions are fixed (#76).
- A Conda environment was created for the porting to MN5, and a few DeprecationWarnings and FutureDeprecationWarnings have been fixed (#78).
- The environment.yml used for the creation of the environment and the requirements have been updated.
The release-v1-1-4
branch has been merged and tested into the current branch and all the tests have been passed successfully.
There are two warnings related to the the installed GeoPandas, NumPy and Pandas modules in the MN5 Conda environment:
warnings.warn(
/gpfs/projects/bsc32/repository/apps/conda_envs/NES_test/lib/python3.12/site-packages/geopandas/array.py:365: UserWarning: Geometry is in a geographic CRS. Results from 'sjoin_nearest' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
warnings.warn(msg)
/gpfs/projects/bsc32/repository/apps/conda_envs/NES_test/lib/python3.12/site-packages/numpy/core/fromnumeric.py:59: FutureWarning: 'DataFrame.swapaxes' is deprecated and will be removed in a future version. Please use 'DataFrame.transpose' instead.
warnings.warn(msg)
/gpfs/projects/bsc32/repository/apps/conda_envs/NES_test/lib/python3.12/site-packages/pandas/core/series.py:1031: RuntimeWarning: invalid value encountered in cast
arr = np.asarray(values, dtype=dtype)