Git Product home page Git Product logo

kay_lab_python_code's Introduction

Kay_lab_python_code

A repository of basic python code as a resource for the Kay lab group.

Last updated: November 1 2022

List of files and their functionality

  1. vertical_cross_section_example.ipynb Example of plotting a CESM variable in lat/height space. Interpolates from CESM sigma-hybrid coordinates to pressure coordinates. Requires PyNGL installation. Please see CAM_vertical_interpolation_python_readme.pdf (below) for instructions. This notebook also contains examples of extracting CESM variables from NetCDF files, using dictionaries, 1-line for-loops, and plotting.

  2. vertical_cross_section_example_dask.ipynb Same as above but using DASK (i.e., multiple cheyenne nodes) to speed up the computation.

  3. CAM_vertical_interpolation_python_readme.pdf Instructions for installing PyNGL & utilizing the vertical cross-section python codes above. Also describes the process of pushing/pulling from Github to make changes to a repo.

  4. output_netcdf_file.ipynb A very simple example of loading in some CESM data and saving one timestep.

  5. plot_cosp_scam_cam6.ipynb Plots outputs (including COSP2) from the MPACE SCAM case - to be used for Arctic research and for COSP2 development

  6. python_gotchas.ipynb - shows some gotchas for python programming

  7. CERES-EBAF_plot_global_map_energy_balance.ipynb Example of making a global map plot of data in netcdf format using cartopy (here data from CERES-EBAF)

  8. regridding CESM sea ice to a lat-lon grid (contributed by Patricia). See README_regrid.md for more information.

To be added eventually... (insert your idea here)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.