Giter Site home page Giter Site logo

pygvtools's Introduction

About

pyGVtools is a python replacement for the matlab "gtools" scipts and provides a single-step solution for rapid visualization of netCDF output from the numerical ocean models MOM6 and GOLD. The tools will work on most netCDF files but are specifically designed to understand the general vertical (and curvilinear-horizontal) coordinates of the MOM6 and GOLD codes.

Pre-requisites

python - version 2.7 or higher
netCDF4 for python - https://code.google.com/p/netcdf4-python/
matplotlib - http://matplotlib.org/

How to obtain the tools

In the location where you would like the directory "pyGVtools" to appear type:

git clone https://github.com/Adcroft/pyGVtools.git  

Thereafter, you can invoke the tools with /pyGVtools/tool. For instance if you were in your home directory (~) when you cloned the repository you could invoke gplot.py with ~/pyGVtools/gplot.py. You can also add pyGVtools to your PATH environment variable which would allow you to invoke without the explcit path, e.g. gplot.py.

How to use

gplot.py --help for more extensive information

Simple examples:

gplot.py dat.nc,depth  
gplot.py surf.nc,sst,5
gplot.py surf.nc,sst,5,201:300,150:
gplot.py surf.nc,sst,5,=0:,:

Complex examples:

gplot.py surf.nc,sss,: --clim 33 38 --supergrid ocean_hgrid.nc -output sss.%4.4i.png --animate
gplot.py prog.nc,temp,1,:,:,=-170 --elevation prog.nc,e

pygvtools's People

Contributors

adcroft avatar kshedstrom avatar

Watchers

 avatar  avatar

Forkers

bilgetutak

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.