mantra-analysis

Scripts to analyze data generated using the "MountAiN glacier Transient snowline Retrieval Algorithm".

https://github.com/cryotools/mantra-analysis

Science Score: 67.0%

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

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.3%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Scripts to analyze data generated using the "MountAiN glacier Transient snowline Retrieval Algorithm".

Basic Info
  • Host: GitHub
  • Owner: cryotools
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 3.4 MB
Statistics
  • Stars: 1
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 2
Created over 3 years ago · Last pushed over 3 years ago
Metadata Files
Readme License Citation

README.md

MANTRA Analysis

Scripts to analyze data generated using the "MountAiN glacier Transient snowline Retrieval Algorithm". The data must have been postprocessed using the MANTRA Postprocessing scripts prior to analysis.

In case you have a Slurm-based HPC cluster at hand, you may use the Bash shell files to run scripts in parallel.

Requirements

Data

First, you will need to process some MANTRA TSLA data. An small example file is ./data/MANTRA/.

Many of the scripts require a CSV file of Randolph Glacier Inventory (RGI) data to work. An example for High Mountain Asia is provided in ./data/RGI. For other regions, you may download the according shapefile, open it in your preferred GIS environment, and export the attribute table to CSV.

Software

  • Python 3 (a current version of Anaconda is recommended).
  • Pandas, Numpy, MatPlotLib and quite a lot of other Python libs (that will come with Anaconda).
  • Some scripts use Scientific Color Maps v6.

Scripts

annual_maxima.py

Create a stacked bar plot displaying the number of glaciers that have their maxima in each year.

EOF-analysis.py

Empirical Orthognal Function analysis of spatio-temporal patterns.

tsl-full-timeseries-plots.py

Plot full TSLA dataset into one time series figure.

plot-glacier-timeseries.py

Plot TSL timeseries for an individual glacier.

console python plot-glacier-timeseries.py <tsl_file> <glacier_list_file> <lower_limit> <upper_limit> <output_dir>\n\n") With tsl_file being a MANTRA TSL result file in HDF format, glacier_list_file an ASCII text file containing the RGIIDs, one ID per row, `lowerlimitandupperlimit` the first and last dataset to process, referring to number of IDs in glacierlistfile, and `outputdir` a valid directory to which the output will be written.

Citing MANTRA

If you publish work based on MANTRA, please cite as:

David Loibl (2022): MountAiN glacier Transient snowline Retrieval Algorithm (MANTRA) v0.8.2, doi: 10.5281/zenodo.7133644

Acknoledgements

MANTRA was developed within the research project "TopoClimatic Forcing and non-linear dynamics in the climate change adaption of glaciers in High Asia" (TopoClif). TopoCliF and David Loibl's work within the project were funded by DFG under the ID LO 2285/1-1.

Owner

  • Name: CryoTools
  • Login: cryotools
  • Kind: organization

Scientific software tools to investigate the cryosphere - community driven, free, open source

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Loibl
    given-names: David
    orcid: https://orcid.org/0000-0002-7583-999X
title: "Scripts to analyze data from the MountAiN glacier Transient snowline Retrieval Algorithm (MANTRA)"
version: v0.1
date-released: 2022-11-01

GitHub Events

Total
Last Year

Committers

Last synced: about 2 years ago

All Time
  • Total Commits: 3
  • Total Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 3
  • Committers: 1
  • Avg Commits per committer: 3.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
David Loibl i****o@d****e 3
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: about 2 years ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total 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
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
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels