drclimate.wordpress.com
Backing up your work | Dr Climate
https://drclimate.wordpress.com/2013/04/16/backing-up-your-work
Let's talk about how we do research in the weather and climate sciences. What is Dr Climate? Who is Dr Climate? April 16, 2013 / Damien Irving. Backing up your work. I suspect that one reason why people don’t regularly backup their work is that they aren’t aware of how easy it is these days. While everyone’s backup needs will be slightly different, here’s my take on backing up code, data and other general files. I’ve spoken previously. 8211; see my previous post. The reason I can be so obsessive compulsi...
drclimate.wordpress.com
Orientation Guide. | Dr Climate
https://drclimate.wordpress.com/orientation-guide
Let's talk about how we do research in the weather and climate sciences. What is Dr Climate? Who is Dr Climate? By collecting up all the relevant posts from this blog, this page is my attempt at provide one such orientation guide…. Picking the right programming language. Getting started with Python. The weather/climate Python stack. Getting past a programming impasse. Speeding up your code. Plugging into the computational best practice discussion. Chapter 2: Managing your code and data. A dose of humour.
drclimate.wordpress.com
Are you CF compliant? | Dr Climate
https://drclimate.wordpress.com/2014/06/09/are-you-cf-compliant
Let's talk about how we do research in the weather and climate sciences. What is Dr Climate? Who is Dr Climate? June 9, 2014 / Damien Irving. Are you CF compliant? Note that I’ve created an IPython notebook lesson. To accompany this post. Information about your data, otherwise known as metadata (i.e. data about your data), can also be stored in a netCDF file as a series of. Some people might use an attribute called ‘name’, but others might use ‘variable name’, ‘var name̵...This contains an audit trai...
earthpy.org
EarthPy - pandas
http://earthpy.org/tag/pandas.html
Flow duration curves from current USGS NWIS data. Published: Mo 31 August 2015. Using Flow Duration Curves to Determine Basin Characteristics and Estimate Flow. This notebook uses the Scientific Python (scipy) stack tools to generate flow duration curves from current USGS NWIS data. Using recipes from this notebook, you can make:. Iterative import and compilation of USGS station information and data. Iterative charts (one monthly summary boxplot per station). Gantt charts of USGS stations. The function a...
earthpy.org
IPyhton interact and widgets (or how to write python version of ncview in about 3 lines of code)
http://earthpy.org/pyncview_pm.html
IPyhton interact and widgets (or how to write python version of ncview in about 3 lines of code). Published: Sa 12 April 2014. Work with data interactively. IPython widgets, interact. Now with IPython 2.0 widgets and. Command my dream come true - I can build a GUI for my data visualisation basically with one line of code. Below I will show how to create simple interactive visualization of geophysical variables from netCDF files. It is sort of quick and dirty replacement for great ncview program. Now for ...
earthpy.org
EarthPy - netCDF
http://earthpy.org/tag/netcdf.html
Calculations with arrays bigger than your memory (dask arrays). Published: So 07 Juni 2015. Process numpy arrays in parallel. Geophysical models get higher and higher resolutions, producing more and more data. However numpy arrays and pandas data frames only work with data that fit in to a memory. For many of us it means that before real analysis we have to somehow subsample or aggregate initial data with some heavy lifting tools (like cdo. If you dont use conda. Conda install dask pydot networkx. As usu...
earthpy.org
EarthPy - Visualization
http://earthpy.org/category/visualization.html
Published: Sa 14 Februar 2015. Make matplotlib plots look nicer. We going to work with climate indeces (AO, NAO, PNA indices):. Wget http:/ www.cpc.ncep.noaa.gov/products/precip/CWlink/daily ao index/monthly.ao.index.b50.current.ascii! Wget http:/ www.cpc.ncep.noaa.gov/products/precip/CWlink/pna/norm.nao.monthly.b5001.current.ascii! Wget http:/ www.cpc.ncep.noaa.gov/products/precip/CWlink/pna/norm.pna.monthly.b5001.current.ascii. Create pandas data frame (. And now we just import. Statistical plots ¶.
earthpy.org
How to make your python code run faster
http://earthpy.org/speed.html
How to make your python code run faster. Published: So 15 Februar 2015. Make your python scripts run faster. Multiprocessor, cython, numba. One of the counterarguments that you constantly hear about using python is that it is slow. This is somehow true for many cases, while most of the tools that scientist mainly use, like. Have big chunks written in. Lets first download some data to work with (NCEP reanalysis air temperature):. For vvv in variabs:. For i in range(2000,2010):. It works slow enough:.
earthpy.org
About EarthPy
http://earthpy.org/first-post.html
Published: Di 28 März 2023. EarthPy is a collection of IPython notebooks. With examples of Earth Science related Python code. It can be tutorials, descriptions of the modules, small scripts, or just tricks, that you think might be useful for others. Contributions are very welcome. To add your code to EarthPy, just send .ipynb file to koldunovn@gmail.com. Python for the Atmospheric and Oceanic Sciences. Koldunov.net (in Russian). Proudly powered by Pelican. Which takes great advantage of Python.
earthpy.org
EarthPy - matplotlib
http://earthpy.org/tag/matplotlib.html
Flow duration curves from current USGS NWIS data. Published: Mo 31 August 2015. Using Flow Duration Curves to Determine Basin Characteristics and Estimate Flow. This notebook uses the Scientific Python (scipy) stack tools to generate flow duration curves from current USGS NWIS data. Using recipes from this notebook, you can make:. Iterative import and compilation of USGS station information and data. Iterative charts (one monthly summary boxplot per station). Gantt charts of USGS stations. The function a...