-
Notifications
You must be signed in to change notification settings - Fork 530
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Station improvements (based on master) #750
Conversation
- more intuitive for users to be able to specify sampling rate + frequency step (i.e. min/max/step of frequencies) in plot (rather than t_samp and nfft) - make it able to provide two axes for the plotting instead of making a new figure (will be used in plotting multiple channels in Station/Network/Inventory)
makes it simpler and clearer, for a map location plot it is probably easier to nest the station into a network and use that for plotting
makes no sense in many cases because responses for channels might be pretty different and matching a range of stages across channels usually won't make much sense.
For the Inventory/Network map plots we should probably refactor the For station I think we should actually leave away the location plot option. With being able to specify wildcarded station/channel/location codes it might actually make sense to have a bode plot attached to Network/Inventory.. Also, all plotting routines attached to Network/Inventory need a |
Current looks: compared to IRIS web service (http://service.iris.edu/irisws/evalresp/1/query?units=vel&minfreq=0.001&maxfreq=100&net=KN&sta=AML&loc=--&cha=BHZ&time=2010-001T00.00.00&output=plot) |
- adjust axes for ticklabels - adjust basemap region (width/height) to match figure aspect ratio (avoids squishy axes with large empty spaces around it)
- Inventory/Network: - .plot(): basemap plot (like with Catalog/Event) - .plot_response(): bode plots - Station/Channel/Response: - .plot(): bode plots
- correct label handling - add option for legend - some minor tweaks
- some updates due to new legend option - use matplotlib 1.3.1 and basemap 1.0.7 for all images
- correct checking of Python version number on py2.6 - force sorted order of plot legend on py3 (random dict order)
@krischer.. ready to merge I think. What do you think? The rest in the todo list up top is kind of optional/extra stuff.. |
coding in python3 (sets are randomly ordered in py3)
The main things were done, merging. |
Station improvements (based on master)
Starting to add some plots to Station object classes..
maybe with a kwarg switch (e.g.type=..
one of"response", "location", "both"
)plot station location on global map__len__
attribute for Inventory/Network/Station?Inventory.count(level="network", count_empty=True)
method?Comments?