Title: HRRR : Failed to get CRS from crs variable LambertConfor mal_Projection · Issue #38 · psyplot/psyplot · GitHub
Open Graph Title: HRRR : Failed to get CRS from crs variable LambertConfor mal_Projection · Issue #38 · psyplot/psyplot
X Title: HRRR : Failed to get CRS from crs variable LambertConfor mal_Projection · Issue #38 · psyplot/psyplot
Description: import psyplot.project import matplotlib.pyplot as plt n1 = 'GFS/Global_onedeg' # n1 = 'HRRR/CONUS_2p5km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable LambertConformal_Projection #n1 = 'NAM/Polar_90km'...
Open Graph Description: import psyplot.project import matplotlib.pyplot as plt n1 = 'GFS/Global_onedeg' # n1 = 'HRRR/CONUS_2p5km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable LambertCon...
X Description: import psyplot.project import matplotlib.pyplot as plt n1 = 'GFS/Global_onedeg' # n1 = 'HRRR/CONUS_2p5km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs var...
Opengraph URL: https://github.com/psyplot/psyplot/issues/38
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"HRRR : Failed to get CRS from crs variable LambertConfor mal_Projection","articleBody":"\r\n```python\r\nimport psyplot.project\r\nimport matplotlib.pyplot as plt\r\n\r\nn1 = 'GFS/Global_onedeg'\r\n# n1 = 'HRRR/CONUS_2p5km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable LambertConformal_Projection\r\n#n1 = 'NAM/Polar_90km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable PolarStereographic_Projection\r\nnwp0 = f'https://thredds.ucar.edu/thredds/dodsC/grib/NCEP/{n1}/Best'\r\n\r\nmap0 = psyplot.project.plot.mapplot(nwp0,\r\n name = 'Geopotential_height_isobaric',\r\n clabel='{desc}', title = n1 + ' %FT%H:%M'\r\n)\r\nmap0.update(z=500, method='nearest') # XXX KeyError: 'Unknown formatoption keyword lev! Possible similiar frasings are levels.'\r\nmap0.update(t = '2021-10-02', method='nearest') # XXX KeyError: 'Unknown formatoption keyword time! Possible similiar frasings are title.'\r\n\r\nplt.show()\r\n\r\nn0 = 'u-component_of_wind_isobaric'\r\nvectors = psyplot.project.plot.mapvector(nwp0, name=[[n0, n0.replace('u-', 'v-')]])\r\nplt.show()\r\n```\r\n#### Problem description\r\n\r\nFirst off : cool software !\r\n\r\nHowever, I've noticed some technical difficulties : \r\n\r\n1. The first plot (w/ GFS) works fine, but if you uncomment the \"n1 = 'HRRR/CONUS_2p5km'\", it gives a warning : \r\n\r\npsy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable LambertConformal_Projection\r\n\r\n... and then kind of hangs.\r\n\r\n2. The plot.mapvector call dies (after some time) w/ RuntimeError: NetCDF: Access failure\r\n\r\n3. The calls to select time \u0026 level don't seem to work. RFE : some way to put the \"level\" info in the title.\r\n\r\n4. From the command line : \r\n\r\npsyplot https://thredds.ucar.edu/thredds/dodsC/grib/NCEP/GFS/Global_onedeg/Best -n Pressure_reduced_to_MSL_msl\r\n\r\n... seems like it should work, but I get : AttributeError: 'NoneType' object has no attribute 'variables'\r\n\r\nFYI, this is on Fedora 34.\r\n\r\n#### Output of ``psyplot -aV``\r\n\r\n\u003cdetails\u003e\r\npsy_maps.plugin:\r\n requirements:\r\n cartopy: 0.19.0\r\n version: 1.4.0\r\npsy_simple.plugin:\r\n version: 1.4.0\r\npsyplot:\r\n requirements:\r\n matplotlib: 3.4.3\r\n numpy: 1.20.1\r\n pandas: 1.2.5\r\n python: 3.9.7 (default, Aug 30 2021, 00:00:00) [GCC 11.2.1 20210728 (Red Hat\r\n 11.2.1-1)]\r\n xarray: 0.17.0\r\n version: 1.4.0\r\n\u003c/details\u003e\r\n","author":{"url":"https://github.com/captcha1","@type":"Person","name":"captcha1"},"datePublished":"2021-10-14T15:10:51.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/38/psyplot/issues/38"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:bbf434e3-8c2e-b2fb-9846-e711db119d79 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DAB2:41B0D:4CF0E3D:6983368:698CDEBF |
| html-safe-nonce | 707e97062e29679b35356621eae8fb3ee6f0f88ad658f1783125d3a4b450b52d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQUIyOjQxQjBEOjRDRjBFM0Q6Njk4MzM2ODo2OThDREVCRiIsInZpc2l0b3JfaWQiOiIxNTAxNDAzODQ0MTI2MjM2MzUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 15917830310b522f961837b9491ded912829633172b4de6513b50a76c459e7e8 |
| hovercard-subject-tag | issue:1026518534 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/psyplot/psyplot/38/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2baadca1d053fcfd2c4975ff466ecca845d25f74ca7ffced4eea4747eff2916a/psyplot/psyplot/issues/38 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2baadca1d053fcfd2c4975ff466ecca845d25f74ca7ffced4eea4747eff2916a/psyplot/psyplot/issues/38 |
| og:image:alt | import psyplot.project import matplotlib.pyplot as plt n1 = 'GFS/Global_onedeg' # n1 = 'HRRR/CONUS_2p5km' # XXX psy_maps/plotters.py:309: UserWarning: Failed to get CRS from crs variable LambertCon... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | captcha1 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 640eeb7b6ff4d8d106235d228c0c286e82592d4d2403227b5b2b4fc5832297a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/psyplot/psyplot git https://github.com/psyplot/psyplot.git |
| octolytics-dimension-user_id | 60222268 |
| octolytics-dimension-user_login | psyplot |
| octolytics-dimension-repository_id | 87944102 |
| octolytics-dimension-repository_nwo | psyplot/psyplot |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 87944102 |
| octolytics-dimension-repository_network_root_nwo | psyplot/psyplot |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 3d444f0a47beeeac94cddbb51c91ab408befe8d4 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width