saeed-moghimi-noaa / ca_adcirc_plot

Python routines to plot adcirc results
Creative Commons Zero v1.0 Universal
3 stars 0 forks source link

UserWarning in kwargs and cartopy #3

Open yujifunakoshiNOAA opened 2 years ago

yujifunakoshiNOAA commented 2 years ago

I made some progress, but I have an warning: In [2]: %run plot_maps.py rm: cannot remove 'base_info.pyc': No such file or directory rm: cannot remove 'geo_regions.pyc': No such file or directory /scratch2/COASTAL/coastal/noscrub/Yuji.Funakoshi/nsem-workflow/data//harvey.atm2ocn.20220324.7doffset/run/ Maxele diff hsofs_region {'xmin': -99.0, 'xmax': -52.8, 'ymin': 5.0, 'ymax': 46.3, 'zmin': -6.0, 'zmax': 1.0} /scratch2/COASTAL/coastal/noscrub/Yuji.Funakoshi/ca_adcirc_plot/plot_maps.py:219: UserWarning: The following kwargs were not used by contour: 'lw' cond1 = ax.tricontour(tri,dep+0.1 ,levels=[0.0] ,colors='k',lw=0.02,alpha=0.8) /scratch2/COASTAL/coastal/save/Yuji.Funakoshi/miniconda3/envs/plot_adc/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py:762: UserWarning: Approximating coordinate system <cartopy._crs.Geodetic object at 0x7f71cfe798f0> with the PlateCarree projection. 'PlateCarree projection.'.format(crs))

saeed-moghimi-noaa commented 2 years ago

Hi Yuji, Seems like it went through. Please feel free to edit the code and remove the warnings. However your plots should be fine. Let's look at them in our meeting on Thursday. -Saeed


Saeed Moghimi, PhD NOS Storm Surge Modeling https://nauticalcharts.noaa.gov/learn/storm-surge-modeling.html Team Lead Coastal Marine Modeling Branch, Coast Survey Development Laboratory, Office of Coast Survey at NOAA National Ocean Service. Address: 1315 East West Hwy, Room 6607, Silver Spring, Maryland 20910

Phone: ‪(302) 827-3986

The contents of this message are mine personally and do not necessarily reflect any position of NOAA.

On Wed, May 4, 2022 at 8:43 AM yujifunakoshiNOAA @.***> wrote:

I made some progress, but I have an warning: In [2]: %run plot_maps.py rm: cannot remove 'base_info.pyc': No such file or directory rm: cannot remove 'geo_regions.pyc': No such file or directory

/scratch2/COASTAL/coastal/noscrub/Yuji.Funakoshi/nsem-workflow/data//harvey.atm2ocn.20220324.7doffset/run/ Maxele diff hsofs_region {'xmin': -99.0, 'xmax': -52.8, 'ymin': 5.0, 'ymax': 46.3, 'zmin': -6.0, 'zmax': 1.0} /scratch2/COASTAL/coastal/noscrub/Yuji.Funakoshi/ca_adcirc_plot/plot_maps.py:219: UserWarning: The following kwargs were not used by contour: 'lw' cond1 = ax.tricontour(tri,dep+0.1 ,levels=[0.0] ,colors='k',lw=0.02,alpha=0.8) /scratch2/COASTAL/coastal/save/Yuji.Funakoshi/miniconda3/envs/plot_adc/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py:762: UserWarning: Approximating coordinate system <cartopy._crs.Geodetic object at 0x7f71cfe798f0> with the PlateCarree projection. 'PlateCarree projection.'.format(crs))

— Reply to this email directly, view it on GitHub https://github.com/saeed-moghimi-noaa/ca_adcirc_plot/issues/3, or unsubscribe https://github.com/notifications/unsubscribe-auth/APZULD65LPSQQCRNSGHIWVTVIJWIJANCNFSM5VB3J3ZQ . You are receiving this because you are subscribed to this thread.Message ID: @.***>