GithubHelp home page GithubHelp logo

wesleybowman / qgsolver Goto Github PK

View Code? Open in Web Editor NEW

This project forked from apatlpo/qgsolver

0.0 3.0 0.0 27.58 MB

another Quasi-Geostrophic solver:

Home Page: http://qgsolver-doc.readthedocs.io/

Python 100.00%

qgsolver's Introduction

Overview

This library implements a 3D z-level QG solver in regular grid or in lon/lat grid. It relies on petsc4py for parallelized PV inversions but should also work in serial in the future

Install

qgsolver

Download and install with:

git clone https://github.com/apatlpo/qgsolver.git
cd qgsolver

Install dependencies with conda

The principal dependcy is petsc4py

Download Miniconda3 from the conda website

bash Miniconda3-latest-Linux-x86_64.sh
(specify .miniconda3 and not miniconda3 as target dir for conda)

conda update conda

Create the conda environment from the enviroment.yml file, and activate the new environment for use.

conda env create -f environment.yml

source activate petsc

Run on datarmor

Generate input files if necessary on your workstation

cd qgsolver/input/
python create_input_roms.py -o roms_in/

On datarmor, copy input files if necessary:

cp -r /home/slyne/aponte/natl60/qgsolver/input/roms_in /home1/datawork/aponte/qgsolver/

Run qgsolver on Datarmor:

bash
source activate petsc
cd /home/slyne/aponte/natl60/qgsolver/run/
python run_datarmor.py qgsolver/roms_out roms.py /home1/datawork/aponte/qgsolver/roms_in/

API

See doc

qgsolver's People

Contributors

apatlpo avatar slgentil avatar wesleybowman avatar

Watchers

 avatar  avatar  avatar

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.