# Python For Climate Action ## SciPy2020 breakout ### packages - `pvlib` -- https://pvlib-python.readthedocs.io/en/stable/ - `napari` -- https://napari.org - see specifically the "napari for geodata" issue: https://github.com/napari/napari/issues/973 - Currently for individual tiles (ie ignoring nonlinear transforms), napari works pretty nicely as a time-series or volumetric or both viewer. ### data formats + Zarr - https://zarr.readthedocs.io/en/stable/ - Silvana Ayala Perez (SAP) + models, projects, formats ### dataset or model that is glaringly missing? + climate action, science + solar, hydro + The Yale Climate Survey is an interesting dataset! https://climatecommunication.yale.edu/visualizations-data/
 (SS) #### how to present + JNI: - making people understand climate science more intuitively - de-politicization of climate science - economical solutions that don't require taxes which are so blasphemous to certain parts of political spectrum + Michael Klatt (MK) - they know climate is changing, as long as you don't call it "global warming", they're more receptive to it - tell me how this is affecting my wheat crop - if we take derived datasets - what's the direct effect of air temp change: + e.g., wildfire danger modeling + "why does climate change matter to **me**" + Sheila Saia (SS) - other datasets: vulnerable coastal communities + MK - we're in a place now where we don't have to have data silos + JNI: is there a place like a LANDSAT browser where we can **see the change**? - subset of ppl think NASA fakes temp data, can't just show temp data - a LANDSAT earth browers would be cool - https://landsatlook.usgs.gov/viewer.html + Craig Harter (CH) + One that I know of: https://remotepixel.ca/projects/ndviseries.html#3/40/-70.5 + https://earthengine.google.com/timelapse/ + I use this to show clients changes in coastal structure + re:models, there are some in C that we use that could be brought into SciPy / Python that would help us do a better job + SAP <-- yes we have similar issues in solar + MK: we can combine these abstract measurements + JNI: would like to have a chapter on Elegant SciPy on with some climate models + Machine learning for climate effects: https://journals.ametsoc.org/jhm/article/20/5/883/344241 (Can contact James Knighton) + + Joe Hamman (JH) -- there are relatively simple climate models in Python / Julia + Caltech climate modelling alliance: https://clima.caltech.edu/ + David Mackay's Global Calculator: https://senseaboutscience.org/activities/sir-david-mackays-global-calculator/ #### suggestions: getting started + MK: learn w/a problem that matters to you #### JH (Joe Hamman): JNI: intro CarbonPlan plz? https://carbonplan.org/ https://github.com/carbonplan #### other links * tool for estimating energy consumption from your code - https://github.com/responsibleproblemsolving/energy-usage - discussion on Python Bytes https://www.youtube.com/watch?v=0Le3eLTdlIA - * And this episode of Talk Python featuring Chris Adams https://talkpython.fm/episodes/show/248/climate-change-and-your-python-code * website + paper on using ML to tackle climate change https://www.climatechange.ai/ * interactive "global calculator" set up by David MacKay - https://senseaboutscience.org/activities/sir-david-mackays-global-calculator/ - http://tool.globalcalculator.org/globcalc.html?levers=22rfoe2e13be1111c2c2c1n31hfjdcef222hp233f211111fn2211111111/dashboard/en #### tentative action items - set up a Discourse + maybe ask people in Jupyter / PyOpenSci / etc community if they can help with that? - set up some citizen science demo toos of relatively simple models