Comments (2)
It would be awesome if graduated color lines could be done in matplotlib- edit: apparently this is possible, but with a LineCollection of line segments, each with its own color- I approximate with scatter plots. I just posted a basic scatter plotting/more advanced MapDesign
example, which shows two different methods of scatter plotting- one using basemap.scatter()
and the other using pysplit.traj_scatter()
, which is the new and improved version of pysplit.map_data_scatter()
that you read about. This doesn't directly answer your question yet of how to plot moisture uptakes (Trajectory.uptake
) , which can be slightly more complicated than just plotting the basic along-trajectory data in Trajectory.data
, but it'll get you going on the right track. I'm still working on the more advanced scatter plotting examples.
As a general commentary/feedback, in your example code you are making a series of floats that you then use to pick 65 colors from the Blues colormap. The colors of your trajectories represent their order in trajgroup
, not meteorological or uptake information. Basic path plotting/color coding is available as an example, as is integration error calculation (and if necessary, there is information on reverse trajectory generation and loading), and rainstatus
merely indicates which existing trajectories produce rain within a certain range of time 0. Also, that's a very creative but unintended way to create a Basemap using PySPLIT. In fact, you're not actually using PySPLIT except as a sort of middleman- you're calling matplotlib Basemap through the mapdesigner module, which imports Basemap. I suggest having a look at the examples to see how MapDesign
is ideally used.
Hope this helps!
Mellissa
from pysplit.
Mellissa,
This helps a great deal. Thank you so much again for your feedback. I have been going through some literature review, and can see how much more complex the moisture uptake calculation can be versus basic along trajectory data. I will take a crack at working with the along traj data for now and probably have more questions for you after that... :-)
Thanks again. I really appreciate your time. Looking forward to your more advanced scatter plotting examples.
Best,
Maria
from pysplit.
Related Issues (20)
- Can monthly data be used? HOT 6
- Is the pysplit.make_trajectorygroup still available? HOT 3
- Issue with recent data set Gdas (2021-2023) HOT 1
- FileNotFoundError: [WinError 2] The system cannot find the file specified HOT 1
- Problem generating bulk trajectories with ERA5 data HOT 22
- [important] Domain height issue. HOT 1
- Does the Pysplit is compatible with python 3.8.12 on Win-11? HOT 5
- HYSPLIT help!! HOT 3
- All of the sudden problem with generate_bulk traj HOT 2
- Smallest map size possible? HOT 2
- Installation problem
- Cluster Analysis- Mean meteorology HOT 2
- Generate a realtime trajectory HOT 2
- daily runs
- Running PySPLIT without HYSPLIT HOT 5
- Running pysplit in parallel HOT 2
- bulk_trajgen_example.py with GDAS1
- Hysplit in mode 'Concentration'
- Output file: variables(u/v and PV) along the trajectories
- ERA5 reanalysis ARL files HOT 6
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 pysplit.