Skip to content

oceandatalab/skimulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SKIM Simulator for Ocean Current

Description

This software simulates SKIM sea surface current observations that can be applied to an ocean general circulation model (OGCM).

Licence

Installation

The code runs with python and uses the following libraries:

  • Numpy

  • Scipy

  • NetCDF4 if you need to read netcdf4 model files (not included in Canopy)

If you don't have python and the needed python libraries on your machine you can download the enthought python distribution canopy at https://store.enthought.com/ and follow the installation instructions.

To install skimulator:

With pip in a python environnment:

-> Create your new environnement:

..code-block:: python > python -m venv [myenv]

-> Download the skimulator

..code-block:: python > git clone https://github.com/oceandatalab/skimulator.git

-> Install the skimulator

..code-block:: python > source [myenv] > pip install [pathtotheskimulator]

With conda:

..code-block:: python > conda install -c conda-forge swot_simulator

Orbits data

Reference orbits data are available online:

.. code-block:: console

$ cd [yourpath]/skimulator/data $ wget "https://oceandatalab.com/files/skim/orbits.tar.xz" $ tar xJf orbits.tar.xz

Rain data

Rain statistical rain flags are available on the ftp for the Gulf Stream Region and the Equator:

.. code-block:: console

$ cd [yourpath]/skimulator/data $ wget "https://oceandatalab.com/files/skim/rain.tar.xz" $ tar xJf rain.tar.xz

Running

Run the SKIM simulator:

For l2b products:

.. code-block:: python

skimul2b [your params file]

For l2c products:

.. code-block:: python

skimul2c [your params file]

For l2d products:

.. code-block:: python

skimul2d [your params file]

Documentation

  • To build the documentation, in the doc directory:

    • Build html: make html

    • Build pdf: make latexpdf

    The build documentation files are located in doc/build/html and in doc/build/latex/

  • for a complete description: see the doc directory or just run pydoc PyDom

    .. doc: doc/html/index.html

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published