NOAA-EDAB / ecodata

A data package for reporting on Northeast Continental Shelf ecosystem status and trends.
https://noaa-edab.github.io/ecodata/
Other
28 stars 11 forks source link

rework temperature scales to show both C and F #127

Open sgaichas opened 5 months ago

sgaichas commented 5 months ago

scientists understand C, stakeholders understand F, we should show both on our absolute temperature and anomaly scales.

Kim Hyde has a nice example for absolute temperature Screen Shot 2024-02-01 at 11 38 05 AM

andybeet commented 5 months ago

Will need to look into how to do that in ggplot2. Do either of you know how?

BBeltz1 commented 5 months ago

I don't. Happy to look into it after I unbury myself a bit, unless someone wants to take a stab sooner.

andybeet commented 5 months ago

we need to do this for all spatial maps

So i dont know how to make this "dual" legend. As a compromise you can call any of these functions with a scale argument. The default is scale ="celsius" - so catalog will build using this. For presentations/managers you can use scale ="fahrenheit"