Skip to main content

Snowtools is a recommended python package to pre-process, run and post-process simulations with the SURFEX-Crocus snowpack model.

Project description

Snowtools

snowtools is a series of mostly python scripts that are designed to make our life simpler in terms of pre- and post-processing of SURFEX-Crocus snow model simulations.

snowtools is freely distributed under CeCILL-C licence. See LICENCE for details

Note that this package is only useful for people interested in using numerical codes of snowpack modelling on a Linux environment. The package does not include any meteorological or snow data.

The structure of snowtools code base is available here.

Installation

For installation of this package, please refer to Install documentation

SURFEX

Snowtools is often used in combination with SURFEX to run snow cover simulations. Snowtools only contain code for post- and pre-processing and driving simulations but no the core code of the Crocus snow cover model which is inside the SURFEX repository.

General informations about snowpack modelling with SURFEX-Crocus can be found here: http://www.cnrm-game-meteo.fr/spip.php?rubrique73

Users interested by snow modeling with SURFEX/Crocus model must follow detailed instructions at https://opensource.umr-cnrm.fr/projects/snowtools_git/wiki/Procedure_for_new_users to get access to SURFEX source code.

Some additional information are provided directly here:

For Meteo-France developers, also consider installing Vortex.

First test

If you correctly installed the snowtools and SURFEX projects, you must be able to run successfully the following test case:

s2m research -f $SNOWTOOLS_CEN/snowtools/DATA/FORCING_test_base.nc -b 20100801 -e 20110801 -o output -g -s ...yoursurfexdirectory.../exe

:warning: If you installed SURFEX with MPIAUTO option, you have to set the environment variable NOFFLINE to 1 to make this test work (because this test have only one simulation point).

Plot tools

As SURFEX-Crocus output files are netCDF files, the visualization of scalar variables is possible with classical visualization tools for NetCDF files, for example :

  • ncview
  • pyncview

However, visualization of the simulated vertical profiles of the snowpack can be difficult due to the lagrangian discretization of Crocus numerical layers and requires specific softwares. snowtools propose two dedicated softwares:

  • proplotter: a graphical user interface for plotting snow profiles evolution across simulations (point or gridded simulations, one point at each time).
  • procompare: a graphical user interface to compare two simulations

These two softwares are installed with the snowtools repository.

Full documentation

The full documentation is available directly for Meteo-France members on http://intra.cnrm.meteo.fr/cen/snowtools.

Otherwise, full snowtools documentation could be generated from doc folder by simply running make html.

Assistance

For users which meet technical difficulties during the installation or the execution of the codes, we only provide support through the dedicated interface on: https://github.com/UMR-CNRM/snowtools-tickets. We will try to answer as soon as possible although we can not guarantee a fixed response time.

Note that the access to tickets is limited to known users of the SURFEX-Crocus or snowtools. If you do not already have an access, please ask for access by email to crocus at meteo dot fr.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

snowtools-2.0.1.tar.gz (3.4 MB view details)

Uploaded Source

Built Distribution

snowtools-2.0.1-py3-none-any.whl (3.6 MB view details)

Uploaded Python 3

File details

Details for the file snowtools-2.0.1.tar.gz.

File metadata

  • Download URL: snowtools-2.0.1.tar.gz
  • Upload date:
  • Size: 3.4 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for snowtools-2.0.1.tar.gz
Algorithm Hash digest
SHA256 47c505147b34e02c5d110df9832acf1efdaf29986d9256a283a76f6273ecc9c9
MD5 5f93c74605b794f9e4f9dbf31b26b52c
BLAKE2b-256 ea970c73b87e1279b03eac6ac0e2a8ccf7bbacd5e05d0cb73aa0a8895591d19a

See more details on using hashes here.

File details

Details for the file snowtools-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: snowtools-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.0 CPython/3.10.12

File hashes

Hashes for snowtools-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 16b1352441270f4f49a4d785e1d484ce1def0fabe7ccb7a6719f8d9dff3c7045
MD5 af2ee78f95a7bbf5a13d78c5360154e2
BLAKE2b-256 9b58c61752a677131bced89f549c4fc64de72546c9e9965dc6a01477166b3634

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page