A curated list of open technology projects to sustain a stable climate, energy supply, biodiversity and natural resources.

SNAP

A lagrangian type atmospheric dispersion model specialized on modelling dispersion of radioactive debris.
https://github.com/metno/snap

Category: Atmosphere
Sub Category: Atmospheric Dispersion and Transport

Keywords from Contributors

aerocom aerosol climate-science earth-observation model-evaluation air-quality

Last synced: less than a minute ago
JSON representation

Repository metadata

Severe Nuclear Accident Programme

README.md

SNAP

SNAP, the Severe Nuclear Accident Programme is a lagrangian type
atmospheric dispersion model specialized on modelling dispersion
of radioactive debris. A model description can be found at
this link.

Meteorological input fields

SNAP needs meteorological driver data from NWP models in sigma or
eta-hybrid model-levels, in the netcdf format. The minimum
list of parameters are for the surface layer:

  • surface-air-pressure
  • precipitation (eventually split into convective and large-scale)
  • x- and y-wind-10m

And for the model layers:

  • x- and y-wind
  • air-temperature or potential-temperature
  • ap and b hybrid level values, or sigma level values

Parameter names can be specified in readfield_nc.f90.

And example on how to set up downloading of freely available meteorological data
from the NOAA GFS model can be found under src/naccident/examples/gfs/

Dependencies

SNAP requires the following libraries and programs to be installed for
compilation

  • fortran77/90 compiler, e.g. gfortran or ifort
  • NetCDF (netcdf > 4.1.1)
  • NetCDF-fortran
  • Python3 (optional)
  • git (optional)
  • fimex (optional)

Installation

Create a file current.mk in the src directory. Use e.g the file
ubuntuXenial.mk
as a template. The most important parameters to modify are NCDIR and
BINDIR, where the final files will be installed to.
THE MIINC and MILIB should be uncommented.

In the src directory run then:

make install

This will install bsnap_naccident to BINDIR. Run SNAP using
the command

bsnap_naccident snap.input

Examples of snap.input can be found in the directory src/naccident/examples/.

Versioning

The master branch in git is used for development. Stable versions are tagged as 'vX.YY.ZZ'. Releases should also have a DOI for citation, see https://doi.org/10.5281/zenodo.1155159 . For the user-interface snappy, we use tags like 'snappy-vX.YY.ZZ' with independent version numbers. Other tags are used internally.

The build system uses automatic versioning based on git tags and revision numbers and embeds this into the resulting program. If git or python3 is unavailable, this logic should be bypassed by setting the environment variable VERSION to some value, e.g.

env VERSION="some_version_number" make install

License

SNAP: Servere Nuclear Accident Programme
Copyright (C) 1992-2023  Norwegian Meteorological Institute

SNAP is free software: you can
redistribute it and/or modify it under the terms of the
GNU General Public License as published by the
Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program, i.e. see COPYING for more information.
If not, see <https://www.gnu.org/licenses/>.

Owner metadata


GitHub Events

Total
Last Year

Committers metadata

Last synced: 7 days ago

Total Commits: 1,716
Total Committers: 16
Avg Commits per committer: 107.25
Development Distribution Score (DDS): 0.383

Commits in past year: 177
Committers in past year: 3
Avg Commits per committer in past year: 59.0
Development Distribution Score (DDS) in past year: 0.497

Name Email Commits
Heiko Klein h****n@m****o 1058
Magnus Ulimoen m****u@m****o 578
André Brodtkorb a****b@m****o 35
Daniel Heinesen d****h@m****o 12
Heiko Klein h****k@g****o 10
charlien c****n@m****o 5
Charlie Negri c****i@m****o 4
agnesny a****y@m****o 3
Jerzy Bartnicki j****b@m****o 3
emepgrp e****p@p****o 2
Juergen Schulze j****s@m****o 1
?? r****t@m****o 1
Charlie Negri c****n@p****o 1
Daniel Heinesen d****h@p****o 1
Daniel Heinesen d****h@p****o 1
emepgrp e****p@x****o 1

Committer domains:


Issue and Pull Request metadata

Last synced: 1 day ago

Total issues: 18
Total pull requests: 115
Average time to close issues: 8 days
Average time to close pull requests: 13 days
Total issue authors: 2
Total pull request authors: 5
Average comments per issue: 0.78
Average comments per pull request: 0.6
Merged pull request: 108
Bot issues: 0
Bot pull requests: 0

Past year issues: 5
Past year pull requests: 21
Past year average time to close issues: 17 days
Past year average time to close pull requests: 6 days
Past year issue authors: 1
Past year pull request authors: 3
Past year average comments per issue: 1.2
Past year average comments per pull request: 0.14
Past year merged pull request: 20
Past year bot issues: 0
Past year bot pull requests: 0

More stats: https://issues.ecosyste.ms/repositories/lookup?url=https://github.com/metno/snap

Top Issue Authors

  • heikoklein (17)
  • babrodtk (1)

Top Pull Request Authors

  • heikoklein (54)
  • magnusuMET (52)
  • dulte (7)
  • babrodtk (1)
  • agnesny (1)

Top Issue Labels

  • enhancement (4)
  • bug (3)
  • wontfix (2)

Top Pull Request Labels


Dependencies

.github/workflows/test.yml actions
  • actions/checkout v2 composite
utils/SnapPy/setup.py pypi

Score: 6.139884552226255