ATTAC-EEW-in-Central-America / pyShake

The EEW Simulation Package for Python
http://pyshake.readthedocs.io
GNU Affero General Public License v3.0
0 stars 0 forks source link

map issue #2

Open dacastroro opened 2 months ago

dacastroro commented 2 months ago

Hi fred!! Im running pyShake everything works great, but map does not render... I got the same outputs than yours. see below. Could you helpme?

ax=map(EEWsolutions,Refsolutions,Mmin=1,Lmin=0.4,MMImin=2,MMIcountry=countryname,Mtypes='MVS') 54/58 F+ and 1/58 F- /usr/local/lib/python3.9/site-packages/pyShake-1.0.1-py3.9.egg/pyshake/util.py:251: ShapelyDeprecationWarning: Setting custom attributes on geometry objects is deprecated, and will raise an AttributeError in Shapely 2.0 Extra False positive: There is no reference solution for the following EEW Tdiff: 25.95,Type: MVS,Mag.: 3.12,Lat.: 15.14,Lon.: -91.91,Depth: 10.76,origintime(UTC): 2024-05-11T16:32:32.000000Z,Lik.: 0.99,Or.: 4.0,Ma.: 4.0,Str.: None,Len.: None,Author: scvsmag@E,Creationt.: 2024-05-11T16:32:47.000000Z,Tdiff(currento.): 15.02,Creation t.: 2024-05-11T16:32:47.000000Z,origin time (UTC): 2024-05-11T16:32:32.000000Z,reference: None,reference solution: None /home/diego/.local/lib/python3.9/site-packages/cartopy/mpl/feature_artist.py:144: UserWarning: facecolor will have no effect as it has been defined as "never". warnings.warn('facecolor will have no effect as it has been ' /home/diego/.local/lib/python3.9/site-packages/owslib/map/wms111.py:121: UserWarning: Content metadata for layer "GEBCO_LATEST_SUB_ICE_TOPO" already exists. Using child layer warnings.warn('Content metadata for layer "%s" already exists. Using child layer' % cm.id) /home/diego/.local/lib/python3.9/site-packages/owslib/map/wms111.py:121: UserWarning: Content metadata for layer "GEBCO_LATEST" already exists. Using child layer warnings.warn('Content metadata for layer "%s" already exists. Using child layer' % cm.id) /home/diego/.local/lib/python3.9/site-packages/owslib/map/wms111.py:121: UserWarning: Content metadata for layer "GEBCO_LATEST_2_sub_ice_topo" already exists. Using child layer warnings.warn('Content metadata for layer "%s" already exists. Using child layer' % cm.id) /home/diego/.local/lib/python3.9/site-packages/owslib/map/wms111.py:121: UserWarning: Content metadata for layer "GEBCO_LATEST_2" already exists. Using child layer warnings.warn('Content metadata for layer "%s" already exists. Using child layer' % cm.id) /home/diego/.local/lib/python3.9/site-packages/cartopy/mpl/geoaxes.py:790: UserWarning: Approximating coordinate system <Geographic 2D CRS: +proj=lonlat +datum=WGS84 +ellps=WGS84 +no_defs +t ...> Name: unknown Axis Info [ellipsoidal]:

  • lon[east]: Longitude (degree)
  • lat[north]: Latitude (degree) Area of Use:
  • undefined Datum: World Geodetic System 1984
  • Ellipsoid: WGS 84
  • Prime Meridian: Greenwich with the PlateCarree projection. warnings.warn(f'Approximating coordinate system {crs!r} with ' /home/diego/.local/lib/python3.9/site-packages/cartopy/mpl/geoaxes.py:790: UserWarning: Approximating coordinate system <Geographic 2D CRS: +proj=lonlat +datum=WGS84 +ellps=WGS84 +no_defs +t ...> Name: unknown Axis Info [ellipsoidal]:
  • lon[east]: Longitude (degree)
  • lat[north]: Latitude (degree) Area of Use:
  • undefined Datum: World Geodetic System 1984
  • Ellipsoid: WGS 84
  • Prime Meridian: Greenwich with the PlateCarree projection. warnings.warn(f'Approximating coordinate system {crs!r} with '
FMassin commented 2 months ago

Hello!

Do you have access to https://www.gebco.net/ from that computer? It's the only requirement...

Cheers

Fred