https://github.com/clima/scampy

A single column model of atmospheric boundary layer turbulence and clouds

https://github.com/clima/scampy

Science Score: 33.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
  • .zenodo.json file
  • DOI references
    Found 1 DOI reference(s) in README
  • Academic publication links
    Links to: wiley.com
  • Committers with academic emails
    9 of 14 committers (64.3%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (11.3%) to scientific vocabulary

Keywords from Contributors

climate climate-change data-assimilation fluid-dynamics
Last synced: 10 months ago · JSON representation

Repository

A single column model of atmospheric boundary layer turbulence and clouds

Basic Info
  • Host: GitHub
  • Owner: CliMA
  • License: apache-2.0
  • Language: Python
  • Default Branch: master
  • Homepage:
  • Size: 111 MB
Statistics
  • Stars: 5
  • Watchers: 7
  • Forks: 2
  • Open Issues: 24
  • Releases: 0
Fork of cmkaul/SCAMPy
Created almost 8 years ago · Last pushed almost 5 years ago

https://github.com/CliMA/SCAMPy/blob/master/

# SCAMPy #

SCAMPy (Single Column Atmospheric Model in Python) provides a framework for testing parameterizations of clouds and turbulence.
It is particularly designed to support eddy-diffusivity mass-flux modeling frameworks.

Information about the EDMF parameterization implemented in SCAMPy can be found in:

Tan, Z., C. M. Kaul, K. G. Pressel, Y. Cohen, T. Schneider, and J. Teixeira, 2018:
An extended eddy-diffusivity mass-flux scheme for unified representation of
subgrid-scale turbulence and convection. Journal of Advances in Modeling Earth Systems, 2018.
(see [Tan et al., 2018](https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1002/2017MS001162)).

The code is written in Python and Cython.

Code Contributors:
	Colleen Kaul (PNNL) --initial/primary developer,
	Yair Cohen (Caltech),
        Jia He (Caltech),
	Anna Jaruga (JPL/Caltech),
        Ignacio Lopez-Gomez (Caltech),
	Kyle Pressel (PNNL),
	Zhihong Tan (U. Chicago).

Additional Acknowledgements:
	Tapio Schneider (Caltech),
	Joao Teixeira (JPL).

# installation #

SCAMPy requires Cython, netcdf4, matplotlib, scipy and numpy.

# building and running #
```
$ cd scampy
```

Generate the simulation specific parameters (accepted keywords:  Bomex, life_cycle_Tan2018, Soares, Rico, TRMM_LBA, ARM_SGP, GATE_III, DYCOMS_RF01, GABLS, SP)
```
$ python generate_namelist.py Soares
```

Generate the turbulence parameters (accepted keywords: defaults, Soares, Bomex, life_cycle_Tan2018, Rico, TRMM_LBA, ARM_SGP, GATE_III, DYCOMS_RF01, GABLS, SP)
```
$ python generate_paramlist.py Soares
```

Compile the source code by running setup.py
```
$ python setup.py build_ext --inplace
```

Serial execution of scampy (both turbulence and case specific parameters need to be passed)
```
$ python main.py Soares.in paramlist_Soares.in
```

# automated plotting  #

All automated plots are located in the tests folder and are generated using [pytest](https://pytest.org/en/latest/).

To run all automatic plots please try:

```
$ cd tests/

$ py.test -s -v plots/

$ cd ../

```
To run an individual plot please try:

```
$ cd tests/

$ py.test -s -v plots/test_plot_Soares.py

$ cd ../

```

The subfolder scampy/tests/les_data contains several netCDF files. These are reduced data files from the stats files of pycles
in which only the relevant data is saved. The code "reduce_pycles_netcdf.py" reduces pycles files given the input location of a pycles file.


Owner

  • Name: Climate Modeling Alliance
  • Login: CliMA
  • Kind: organization
  • Email: clima@caltech.edu

An alliance of scientists, engineers and applied mathematicians, dedicated to pioneering a new, data-informed approach to climate modeling

GitHub Events

Total
  • Watch event: 1
Last Year
  • Watch event: 1

Committers

Last synced: over 2 years ago

All Time
  • Total Commits: 821
  • Total Committers: 14
  • Avg Commits per committer: 58.643
  • Development Distribution Score (DDS): 0.488
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
yairchn y****n@c****u 420
Anna Jaruga a****a@c****u 128
cmkaul c****l@g****m 123
Ignacio i****o@c****u 65
Jia He j****h@g****m 56
Yair Cohen y****n@Y****l 12
Haakon Ludvig Langeland Ervik 4****e 5
Yair Cohen y****n@Y****l 5
Nicholas Trank n****k@c****u 2
pressel p****k@e****h 1
Yair Cohen y****n@v****u 1
Colleen Kaul c****l@e****h 1
Yair Cohen y****n@v****u 1
Yair Cohen y****n@v****u 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: over 2 years ago

All Time
  • Total issues: 14
  • Total pull requests: 86
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 19 days
  • Total issue authors: 4
  • Total pull request authors: 6
  • Average comments per issue: 0.86
  • Average comments per pull request: 0.5
  • Merged pull requests: 63
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • charleskawczynski (8)
  • ilopezgp (2)
  • yairchn (2)
  • trontrytel (2)
Pull Request Authors
  • yairchn (34)
  • trontrytel (18)
  • ilopezgp (17)
  • jiahe23 (12)
  • haakon-e (4)
  • charleskawczynski (1)
Top Labels
Issue Labels
bug (3)
Pull Request Labels