Published September 12, 2017 | Version v1
Software Open

GWGEN v1.0.2: A global weather generator for daily data

  • 1. Institute of Earth Surface Dynamics, University of Lausanne
  • 2. Institute of Earth Surface Dynamics, University of Lausanne; Max Planck Institute for the Science of Human History, Jena, Germany

Description

This synthesis of FORTRAN and Python is a globally applicable
weather generator inspired by the original WGEN weather generator of
Richardson, 1981 and parameterized through a global dataset of GHCN (Menne et al., 2012) and
EECRA (Hahn and Warren, 1999) data.
The technical documentation can be seen under https://arve-research.github.io/gwgen/

 

Files

  • gwgen-1.0.2.zip: The full source files for FORTRAN and Python including the data for unittests
  • gwgen-1.0.2-no-test-data.zip: The full source files without test data
  • gwgen_docs_v1.0.2.zip:  The documentation as static html
  • gwgen-conda-1.0.2-Linux-x86_64_2.7.sh: A bash installer for Linux with python 2.7
  • gwgen-conda-1.0.2-Linux-x86_64_3.6.sh: A bash installer for Linux with python 3.6
  • gwgen-conda-1.0.2-MacOSX-x86_64_2.7.sh: A bash installer for MacOSX with python 2.7
  • gwgen-conda-1.0.2-MacOSX-x86_64_3.6.sh: A bash installer for MacOSX with python 3.6

 

Installation from source

To install the source files in gwgen-1.0.2.zip, you need python, numpy, matplotlib, sqlalchemy, statsmodels, scipy and pandas to be preinstalled. Then you can run

python setup.py install

to install the python files

Installation using the bash installer

The bash installers listed above contain a self-contained conda environment that includes all dependencies for GWGEN and GWGEN itself. You need to install a FORTRAN compiler, e.g. gfortran, by yourself.

Just run

bash gwgen-conda-1.0.2-Linux-x86_64_2.7.sh

and follow the instructions.

 

Acknowledgements

This work was supported by the European Research Council (COEVOLVE, 313797) and the Swiss National Science
Foundation (ACACIA, CR10I2_146314). We thank Shawn Koppenhoefer for assistance compiling and querying the weather databases and Alexis Berne and Grégoire Mariéthoz for helpful suggestions on the analyses. We are grateful to NOAA NCDC and the University of Washington for providing free of charge the GHCN-Daily and EECRA databases, respectively.

Files

gwgen-1.0.2-no-test-data.zip

Files (1.1 GB)

Name Size Download all
md5:ed3846c2d66fe4b4f2d93c505d7c8a11
237.8 kB Preview Download
md5:0f225f856ff3b07464044a8434056d2c
96.7 MB Preview Download
md5:bac015278e55d15a2a02b6917b110082
337.8 MB Download
md5:cd4138692dc8ec0418d111d403b67ea9
349.5 MB Download
md5:75ce4bdd503e2c199e34473c4f1f74df
152.3 MB Download
md5:0bda5b569840dfbed2700647818e1119
155.0 MB Download
md5:c001f84923e2bb56dcfe77f3959f7771
2.8 MB Preview Download

Additional details

Related works

Funding

COEVOLVE – From Forest to Farmland and Meadow to Metropolis: What Role for Humans in Explaining the Enigma of Holocene CO2 and Methane Concentrations? 313797
European Commission

References

  • Richardson, C. W.: Stochastic simulation of daily precipitation, temperature, and solar radiation, Water Resources Research, 17, 182–190, doi:10.1029/WR017i001p00182, 1981.
  • Menne, M. J., Durre, I., Vose, R. S., Gleason, B. E., and Houston, T. G.: An Overview of the Global Historical Climatology Network-Daily Database, J. Atmos. Oceanic Technol., 29, 897–910, doi:10.1175/jtech-d-11-00103.1, http://dx.doi.org/10.1175/JTECH-D-11-00103.1, 2012b.
  • Hahn, C. andWarren, S.: Extended Edited Synoptic Cloud Reports from Ships and Land Stations Over the Globe, 1952-1996 (with Ship data updated through 2008), doi:10.3334/CDIAC/cli.ndp026c, http://dx.doi.org/10.3334/CDIAC/cli.ndp026c, 1999.