NASA-Openscapes / earthdata-cloud-cookbook

A tutorial book of workflows for research using NASA EarthData in the Cloud created by the NASA-Openscapes team
https://nasa-openscapes.github.io/earthdata-cloud-cookbook
Other
87 stars 32 forks source link

Add python environments & corn to cookbook #184

Open jules32 opened 1 year ago

jules32 commented 1 year ago

Related to #190

Add section about python environments for development in our cookbook:

@andypbarrett during coworking, with @michele-personal :

"This is the way NSIDC developers work, it saves headaches from conda installs. Here's a environment.yml that will spin up earthaccess and xarray. You run it with:"

$ conda env create -f environment.yml

This is the environment.yml


name: test_earthaccess
channels:
 - conda-forge
 - default
dependencies:
 - python==3.10
​
  ################################################################
  # Imported dependencies and extensions (and related typestubs) #
  ################################################################
​
 - jupyterlab
 - earthaccess
 - xarray
 - dask
 - netCDF4
 - bottleneck
 - matplotlib
 - cartopy
 - ```
jules32 commented 1 year ago

We've created a high-level chapter to describe environments, including Corn

https://github.com/NASA-Openscapes/earthdata-cloud-cookbook/pull/186