mi3nts / mints-aq-reports

Repository for generation of MINTS automated reports
https://mi3nts.github.io/mints-aq-reports/
1 stars 2 forks source link

Style Guidelines for Time Series Plots #13

Open ashenfernando1 opened 1 year ago

ashenfernando1 commented 1 year ago

an example time series plot: image

john-waczak commented 1 year ago

Once we have agreed on designs for teach type of time series plot, we should develop a set of template files for Python, Julia, R, etc... with functions to generate graphs so we can reduce the need for boilerplate code. It would be nice to put these into a separate repo (perhaps MintsPlotRecipes) so we can reuse them for multiple projects

john-waczak commented 1 year ago

I'll start by copying over my Julia ML plotting recipes and style files.

ashenfernando1 commented 1 year ago

if you include a list of check marks on the first post of the issue page, it'll interpret as tasks to be completed. neat! @john-waczak

also i think im enjoying just tagging people now

davidlary commented 1 year ago

Thanks!

Please can we use the date format YYYY/MM/DD (the month plots will be YYYY/MM, and the annual plots will be YYYY).

Please make tick labels on X & Y larger.

Please can the Time labels be horizontal Time ticks every hour Time labels every 3 hours Very fine graph paper in background every hour in x direction

Intermediate unlabeled y-tick marks

For the marginal PDF we should probably have an x-axis with labels, maybe in % (any thoughts?) Would be good to have a very fine graph paper in background for PDF

Please may X & Y axis titles bigger, just 1 pt smaller than the title font. For the y-axis you can leave out the word concentration.

Perhaps having an upper x-axis and a right y-axis on each panel to close the box may look better (any thoughts?)

In the title when you say at Lat, Long, use parenthesis ie ... at (Lat°,Long°)with the lat & long in degrees with a degree symbol ° and probably use just 2 decimal places for the lat and long.

ashenfernando1 commented 1 year ago

thanks, will update these as tasks

davidlary commented 6 days ago

Icons for time series plots.

Perhaps use these icons for each hour of the day on daily plots

Rainfall

Rainfall intensity is typically classified based on the rate of precipitation in millimeters per hour (mm/hour). Here are some general classifications:

  1. Light Rain: Less than 2.5 mm/hour
  2. Moderate Rain: Between 2.5 mm/hour and 7.6 mm/hour
  3. Heavy Rain: Greater than 7.6 mm/hour

Wind speed

Wind speed is classified into different categories in meters per second (m/s):

  1. Light Wind: 0.3 to 3.3 m/s (1 to 11.9 km/h or 0.7 to 7.4 mph)
  2. Moderate Wind: 3.4 to 7.9 m/s (12 to 28.4 km/h or 7.5 to 17.7 mph)
  3. Strong Wind: 8.0 to 13.8 m/s (28.8 to 49.7 km/h or 17.8 to 30.8 mph)
  4. Very Strong Wind: 13.9 to 20.7 m/s (50 to 74.5 km/h or 30.9 to 46.3 mph)

Cloudiness

Based on Lakitha's coud fraction we can use icons fror cloudiness, I have created icons for every 10%

Lightning

If we detect lighting we can display a lightning icon

Cloudy_100 Cloudy_90 Cloudy_80 Cloudy_70 Cloudy_60 HeatAdvisory_Day HeatAdvisory Cloudy_50 Cloudy_40 Cloudy_30 Cloudy_20 Cloudy_10 Ice-2 Ice VeryStrongWind StrongWind ModerateWind LightWind LightningBolt HeavyRain ModerateRain LightRain Cloudy Sunny

john-waczak commented 4 days ago

Screenshot 2024-06-28 at 2 06 45 PM

@davidlary @Vinukcs Idea: add "context bars" above or below the plot with icons