Skip to content

Commit

Permalink
Update docs/appendix/troubleshooting.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Zachary Moon <[email protected]>
  • Loading branch information
blychs and zmoon authored Aug 26, 2024
1 parent f11d607 commit 12eaf3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/appendix/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ Runtime issues
* The plots are not produced. The error message references ``leg.legendHandles``:
* You are probably using Matplotlib 3.9+ with pandas 1.x. Downgrade Matplotlib to 3.8 (upgrading pandas should also work, but you might run into some incompatibilities for some specific functionalities, especially those related to downloading observational data with MONETIO. Check :doc:`/getting_started/installation`).
* NaN does not exist, or pandas not detecting NaN values, etc:
* numpy v2.0.0 removed np.NaN, which has been completely replaced by np.nan. np.NaN is required by some versions of MONETIO. There are two solutions: (i) downgrading numpy to previous versions or (ii) upgrading MONETIO. If you go with option (ii), you might need to use the _develop_ branch of MONETIO (this should make it into _stable_ soon).
* In NumPy 2.x, ``np.NaN`` has been completely replaced by ``np.nan``. ``np.NaN`` is required by some versions of MONETIO. There are two solutions: (i) downgrading NumPy to previous versions (``'numpy<2'``) or (ii) upgrading MONETIO (``'monetio>=0.2.7'``). If you go with option (ii), you might need to use the _develop_ branch of MONETIO (this should make it into _stable_ soon).
* Failure downoloading maps:
* MELODIES-MONET uses Cartopy for mapping. Cartopy downloads shapefiles automatically to create the maps, and if you are offline or working on a machine with download restrictions, this might fail. Check :doc:`/appendix/machine-specific-install`. This is the situation for *NOAA HPC Hera*, and the solution discussed there should work.

0 comments on commit 12eaf3b

Please sign in to comment.