Skip to content
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

plot_weather.py should automatically select y-axis limits #6

Open
jamessynge opened this issue Jul 6, 2018 · 1 comment
Open

plot_weather.py should automatically select y-axis limits #6

jamessynge opened this issue Jul 6, 2018 · 1 comment
Labels
good first issue Good for newcomers

Comments

@jamessynge
Copy link

The annual temperature range in Massachusetts (home of PAN006) is fairly large, especially when you include both ground and sky temps. For ambient, the range in the last 6 months has been about 100F. This is vastly different than the situation experienced by PAN001, which has a much lower annual range.

plot_weather.py uses limits in peas.yaml, such as:

    plot:
        amb_temp_limits: [-5, 35]
        cloudiness_limits: [-45, 5]
        wind_limits: [0, 75]
        rain_limits: [700, 3200]
        pwm_limits: [-5, 105]

I propose that these limits be auto computed from some time range (e.g. just the data in the daily plot, or the last week, etc.).

@wtgee
Copy link
Member

wtgee commented Jul 8, 2018

The only worry with it being constantly re-computed would be that they would look inconsistent when just glancing from plot to plot, which could be annoying and/or misleading. The previous week would probably mitigate that.

The plot was all built by @joshwalawender, who may or may not have some advice on this.

More could change with this as well, e.g. for those of us who don't have an anemometer it would be nice to just not show the wind.

@wtgee wtgee transferred this issue from panoptes/POCS Feb 17, 2020
@wtgee wtgee added the good first issue Good for newcomers label Feb 17, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants