Skip to content

Commit

Permalink
updates to about and website structure
Browse files Browse the repository at this point in the history
  • Loading branch information
bairdlangenbrunner committed Jul 16, 2018
1 parent cd5536a commit e435f52
Show file tree
Hide file tree
Showing 10 changed files with 62 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<link rel="stylesheet" href="http://localhost:4000/assets/style.css">

<link rel="canonical" href="http://localhost:4000/collections/_conda/setting-up-conda-environments.html">
<link rel="canonical" href="http://localhost:4000/:collection/:name/">
<link rel="alternate" type="application/rss+xml" title="Python for climate scientists" href="http://localhost:4000/feed.xml">

<script async defer src="https://buttons.github.io/buttons.js"></script>
Expand Down Expand Up @@ -126,7 +126,7 @@ <h1 class="h0 mt-3 mb-2 header-title-page">Conda environments for NCO, NCL, and

<div class="prose mb-4">
<blockquote>
<p><em>Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., <a href="https://conda.io/docs/index.html">Anaconda or Miniconda</a>). I’ll add more info on what this is in another post.</em></p>
<p><em>Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., <a href="https://conda.io/docs/index.html">Anaconda or Miniconda</a>). Read through the documentation websites or the [where to start][where-to-start-page] page to learn more about this.</em></p>
</blockquote>

<p>Environments in conda are incredibly useful. They allow you to install parallel versions of Python and its packages, or even other languages and software, that mind their own business and never affect one another.</p>
Expand Down Expand Up @@ -243,6 +243,7 @@ <h3 id="keeping-environments-up-to-date">Keeping environments up-to-date</h3>

<p>Then choose <code class="highlighter-rouge">y</code> to approve of the udpates. Some packages will inevitably be downgraded, but I usually go for it anyway.</p>

<p>[where-to-start-page]:</p>

</div>
</article>
Expand Down
22 changes: 15 additions & 7 deletions _site/about/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>about</title>
<meta name="description" content="Hi, and welcome to Python for climate scientists.">
<meta name="description" content="Hi, and welcome to Python for climate scientists!">



Expand Down Expand Up @@ -121,16 +121,24 @@
<article class="container mx-auto px-2 mt2 mb4">

<div class="prose mb-4 py-4">
<p>Hi, and welcome to <strong>Python for climate scientists</strong>.</p>
<p>Hi, and welcome to <strong>Python for climate scientists</strong>!</p>

<p>I’ve set this up to document my experience using Python for data analysis and plotting. My intention here is not to reinvent the wheel, since there are many great resources out there doing something like this. Instead, I hope to organize the moving parts I’ve seen online and create a repository that gives a good cross section of what exists already, as well as fill in some holes I’ve noticed.</p>
<p>My name is Baird, and I’m currently a postdoc at UC Irvine.</p>

<p>This project is in its infancy, and I expect it to evolve in the coming months and years. Please let me know if you want to be part of it, or if you’d like to see something specific here.</p>
<p>I started using Python toward the end of college (circa 2008), and I’ve watched a great Earth science user base develop around it since then. In the past few years in particular, it seems like increasingly powerful packages are popping up and evolving for data analysis and plotting. It’s all very exciting and overwhelming at once.</p>

<!--![gif](https://media.giphy.com/media/3oKIPnAiaMCws8nOsE/giphy.gif)-->
<p>Despite the fantastic options now available to Python experts and beginners alike, it seems like a community-driven website that gives information about resources and practical advice is somewhat missing. With that in mind, my intention here is to organize these moving parts and create a platform that gives a good cross section of what resources exist already. I’d also like to fill in some holes I’ve noticed and talked about with peers, and provide a space for other Python folks to do the same.</p>

<p>This project is in its infancy, and I expect it to evolve in the coming months and years. And fair warning: Please expect reorganization as I settle things, and reach out if you want to be part of this or have advice on how to improve things. The code is available on GitHub, so if you feel particularly git-savvy (and don’t mind sorting through my mess), <a href="https://github.com/bairdlangenbrunner/python-for-climate-scientists/">take a gander</a>.</p>

<p>Thanks<br />
Baird</p>
<p>If you’re new to Python and found this hoping to get started on things, check out the inaugural papers here:</p>
<ul>
<li><a href="https://bairdlangenbrunner.github.io/python-for-climate-scientists/where-to-start/">Where to start</a> (spoiler: use conda!)</li>
<li>A resources page to catalogue the cool stuff already out there</li>
<li>Some practical examples that improve quality of life while coding, data-wrangling, and plotting geospatial data</li>
</ul>

<!--![gif](https://media.giphy.com/media/3oKIPnAiaMCws8nOsE/giphy.gif)-->

</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion _site/conda/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ <h1 class="h0 mt-3 mb-2 header-title-page">conda</h1>

<div class="py-1 prose">
<h2 class="h2 lh-condensed col-9 mt-0 always-full-width-of-container">
<a class="link-primary" title="/conda/setting-up-conda-environments.html" href="/conda/setting-up-conda-environments.html">Conda environments for NCO, NCL, and CDO</a>
<a class="link-primary" title="/conda/setting-up-conda-environments/" href="/conda/setting-up-conda-environments/">Conda environments for NCO, NCL, and CDO</a>
</h2>
</div>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
<meta name="viewport" content="width=device-width, initial-scale=1">

<title>Conda environments for NCO, NCL, and CDO</title>
<meta name="description" content=" Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., Anaconda or Miniconda). I’ll add more info on what this is in another post.">
<meta name="description" content=" Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., Anaconda or Miniconda). Read through the documentation websites or the [wh...">



<link rel="stylesheet" href="http://localhost:4000/assets/style.css">

<link rel="canonical" href="http://localhost:4000/conda/setting-up-conda-environments.html">
<link rel="canonical" href="http://localhost:4000/conda/setting-up-conda-environments/">
<link rel="alternate" type="application/rss+xml" title="Python for climate scientists" href="http://localhost:4000/feed.xml">

<script async defer src="https://buttons.github.io/buttons.js"></script>
Expand Down Expand Up @@ -125,7 +125,7 @@ <h1 class="h1 col-9 sm-width-full inline-block always-full-width-of-container" i

<div class="prose" itemprop="articleBody">
<blockquote>
<p><em>Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., <a href="https://conda.io/docs/index.html">Anaconda or Miniconda</a>). I’ll add more info on what this is in another post.</em></p>
<p><em>Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., <a href="https://conda.io/docs/index.html">Anaconda or Miniconda</a>). Read through the documentation websites or the [where to start][where-to-start-page] page to learn more about this.</em></p>
</blockquote>

<p>Environments in conda are incredibly useful. They allow you to install parallel versions of Python and its packages, or even other languages and software, that mind their own business and never affect one another.</p>
Expand Down Expand Up @@ -242,6 +242,7 @@ <h3 id="keeping-environments-up-to-date">Keeping environments up-to-date</h3>

<p>Then choose <code class="highlighter-rouge">y</code> to approve of the udpates. Some packages will inevitably be downgraded, but I usually go for it anyway.</p>

<p>[where-to-start-page]:</p>

</div>

Expand Down
2 changes: 1 addition & 1 deletion _site/feed.xml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.7.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2018-07-15T19:01:04-07:00</updated><id>http://localhost:4000/</id><title type="html">Python for climate scientists</title><subtitle>Materials for Earth science data wrangling</subtitle><author><name>Baird</name></author></feed>
<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" ><generator uri="https://jekyllrb.com/" version="3.7.3">Jekyll</generator><link href="http://localhost:4000/feed.xml" rel="self" type="application/atom+xml" /><link href="http://localhost:4000/" rel="alternate" type="text/html" /><updated>2018-07-15T21:16:00-07:00</updated><id>http://localhost:4000/</id><title type="html">Python for climate scientists</title><subtitle>Materials for Earth science data wrangling</subtitle><author><name>Baird</name></author></feed>
12 changes: 8 additions & 4 deletions _site/where-to-start/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ <h1 class="h0 mt-3 mb-2 header-title-page">where to start</h1>
<p><img src="https://media.giphy.com/media/9gn4lhW6wiQ6c/giphy.gif" alt="doge"></p>

<blockquote>
<p><em>One note before I go further: Most of the tips here are based on my experience with Mac OS, but if you’re a Windows or LINUX user, use this resource with other documentation specific to your OS.</em></p>
<p><em>Note: Most of the tips here are based on experience with Mac OS. If you’re a Windows or LINUX user, use this resource with other documentation specific to your OS.</em></p>
</blockquote>

<hr>

<h3 id="1-to-get-python-going-use-anaconda-or-miniconda">1. To get Python going, use Anaconda or Miniconda</h3>
<h3 id="1-to-install-python-start-with-anaconda-or-miniconda">1. To install Python, start with Anaconda or Miniconda</h3>

<p>I recommend using either <strong><a href="https://conda.io/docs/user-guide/install/download.html">Anaconda or Miniconda</a></strong> to install and maintain Python on your machine(s).</p>

Expand All @@ -164,10 +164,10 @@ <h4 id="why-conda">Why conda?</h4>
<blockquote>
<ol>
<li>
<p>This is getting a little ahead of myself, but with conda, you can install multiple parallel “environments” of Python (or whatever <em>other</em> languages you prefer). That means you can have a Python installation you use most of the time <em>and</em> an older one that works with some random chunk of code you inherited from a student in your lab who graduated years ago.</p>
<p>This is getting a little ahead of myself, but with conda, you can install multiple parallel “environments” of Python (or whatever <em>other</em> languages you prefer). That means you can have a Python installation you use most of the time <em>and</em> an older one that works with some random chunk of code you inherited from someone else who worked on an older version of Python.</p>
</li>
<li>
<p>Another powerful aspect of conda is that you can use it to install non-Python-related software. For example, you can set up a single or different environments for <a href="https://conda.io/docs/user-guide/install/download.html">NCO (NetCDF Operators)</a>, <a href="https://conda.io/docs/user-guide/install/download.html">CDO (Climate Data Operators)</a>, and the <a href="https://conda.io/docs/user-guide/install/download.html">NCL (NCAR Command Language)</a>. This, in my opinion, is what makes it so valuable.</p>
<p>Another powerful aspect of conda is that you can use it to install non-Python-related software. For example, you can set up a single or different environments for <a href="https://conda.io/docs/user-guide/install/download.html">NCO (NetCDF Operators)</a>, <a href="https://conda.io/docs/user-guide/install/download.html">CDO (Climate Data Operators)</a>, and the <a href="https://conda.io/docs/user-guide/install/download.html">NCL (NCAR Command Language)</a>. This, in my opinion, is what makes it so valuable; see my separate post on [setting up these environments][setting-up-conda-environments-post] for more information.</p>
</li>
<li>
<p>Anaconda/Miniconda are free (their developer, Continuum, offers proprietary add-ons, but there’s no reason you’ll ever need those).</p>
Expand Down Expand Up @@ -295,6 +295,10 @@ <h3 id="4-go-forth-and-code">4. Go forth and code</h3>
<li>This <a href="https://medium.com/codingthesmartway-com-blog/getting-started-with-jupyter-notebook-for-python-4e7082bd5d46">Getting Started</a> tutorial on Medium</li>
</ul>

<h3 id="5--optional-read-about-how-to-set-up-some-useful-conda-environments">5. Optional: Read about how to set up some useful conda environments</h3>

<p>Check out my approach on <a href="https://bairdlangenbrunner.github.io/python-for-climate-scientists/conda/setting-up-conda-environments.html">setting up NCO, CDO, and NCL</a> using conda alone.</p>

<!--
#### 2.1.
Expand Down
4 changes: 3 additions & 1 deletion collections/_conda/setting-up-conda-environments.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
---
title: Conda environments for NCO, NCL, and CDO
date: 2018-07-10
permalink: /:collection/:name/
order: 1
---

> *Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., [Anaconda or Miniconda](https://conda.io/docs/index.html)). I'll add more info on what this is in another post.*
> *Disclaimer: This assumes knowledge of a conda-based Python installation (e.g., [Anaconda or Miniconda](https://conda.io/docs/index.html)). Read through the documentation websites or the [where to start][where-to-start-page] page to learn more about this.*
Environments in conda are incredibly useful. They allow you to install parallel versions of Python and its packages, or even other languages and software, that mind their own business and never affect one another.

Expand Down Expand Up @@ -101,3 +102,4 @@ Then choose ```y``` to approve of the udpates. Some packages will inevitably be
[basemap-sunset]: https://matplotlib.org/basemap/users/intro.html
[basemap-sunset-forum]: https://github.com/SciTools/cartopy/issues/920
[cartopy-link]: https://scitools.org.uk/cartopy/
[where-to-start-page]:
4 changes: 4 additions & 0 deletions collections/_pages/_drafts/resources.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ order: 2
Coming soon...
```

aospy - Spencer Hill folks; Johnny Lin
py-Earth


<!--
Some of my favorite online resources are listed below.
Expand Down
20 changes: 14 additions & 6 deletions collections/_pages/about.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ layout: page-no-title
order: 1
---

Hi, and welcome to **Python for climate scientists**.
Hi, and welcome to **Python for climate scientists**!

I've set this up to document my experience using Python for data analysis and plotting. My intention here is not to reinvent the wheel, since there are many great resources out there doing something like this. Instead, I hope to organize the moving parts I've seen online and create a repository that gives a good cross section of what exists already, as well as fill in some holes I've noticed.
My name is Baird, and I'm currently a postdoc at UC Irvine.

This project is in its infancy, and I expect it to evolve in the coming months and years. Please let me know if you want to be part of it, or if you'd like to see something specific here.
I started using Python toward the end of college (circa 2008), and I've watched a great Earth science user base develop around it since then. In the past few years in particular, it seems like increasingly powerful packages are popping up and evolving for data analysis and plotting. It's all very exciting and overwhelming at once.

<!--![gif](https://media.giphy.com/media/3oKIPnAiaMCws8nOsE/giphy.gif)-->
Despite the fantastic options now available to Python experts and beginners alike, it seems like a community-driven website that gives information about resources and practical advice is somewhat missing. With that in mind, my intention here is to organize these moving parts and create a platform that gives a good cross section of what resources exist already. I'd also like to fill in some holes I've noticed and talked about with peers, and provide a space for other Python folks to do the same.

This project is in its infancy, and I expect it to evolve in the coming months and years. And fair warning: Please expect reorganization as I settle things, and reach out if you want to be part of this or have advice on how to improve things. The code is available on GitHub, so if you feel particularly git-savvy (and don't mind sorting through my mess), [take a gander][github-site].

Thanks
Baird
If you're new to Python and found this hoping to get started on things, check out the inaugural papers here:
* [Where to start][where-to-start-page] (spoiler: use conda!)
* A resources page to catalogue the cool stuff already out there
* Some practical examples that improve quality of life while coding, data-wrangling, and plotting geospatial data

[github-site]: https://github.com/bairdlangenbrunner/python-for-climate-scientists/
[where-to-start-page]: https://bairdlangenbrunner.github.io/python-for-climate-scientists/where-to-start/
<!--![gif](https://media.giphy.com/media/3oKIPnAiaMCws8nOsE/giphy.gif)-->
Loading

0 comments on commit e435f52

Please sign in to comment.