Comments (1)
Here is code for adding GLM flash and group centroid locations, also using the NOAA S3 archive.
In the 5 min window I used, there's lots of flashes, so it swamps the MRMS display at this scale.
# Grab the corresponding GLM data in the 5 min window before the MD.
glm_window = timedelta(minutes=5) # We want this much data
glm_prod_length = timedelta(seconds=20) # LCFA files are always 20s long
n_glm = int(glm_window/glm_prod_length)
glm_prod_times = [md_time - ti*glm_prod_length for ti in range(n_glm)][::-1]
glm_prods = [GOESArchive(satellite=16).get_product('GLM-L2-LCFA', ti).parse() for ti in glm_prod_times]
# Plot GLM
for glm in glm_prods:
ax.plot(glm.flash_lon, glm.flash_lat, marker='D', color='w', markersize=4, linewidth=0, transform=ccrs.PlateCarree())
ax.plot(glm.group_lon, glm.group_lat, marker='s', color='y', markersize=2, linewidth=0, transform=ccrs.PlateCarree())
from python-training.
Related Issues (20)
- There is a mistake when I run he example gallery HOT 5
- Considerations for new infrastructure
- Probable link typo on Intro Python page
- NameError: name 'plt' is not defined HOT 1
- Ageostrophic_Wind_Example.ipynb reports error HOT 1
- Clarify iteration and indexing for catalog.datasets HOT 3
- UpperAir_Obs DataArray issues HOT 1
- Broken link
- More international examples
- Add pykdtree to python-training unidata environment
- Update advection API in QG analysis notebook
- extracting latitude from a string HOT 2
- Update MetPy Case Study to use MetPy v1.0 API and features HOT 1
- 250 hemispheric plot example updates
- Add materials about interpreting and fixing errors HOT 1
- Geomtrophic and Ageostrophic Wind problem in the HOT 2
- Add example of SPC reports and outlook
- Tie examples to data-access appendix
- "Downloading model fields with NCSS" needs an update
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from python-training.