Giter Site home page Giter Site logo

lsa's Introduction

LSA

Late season snow accumulation model

Background

Due to logistical contraints the timing of the 'end of season' accumulation survey rarely coincides with the true end of season. In 2012 this produced a noticeable error in the summer balance, resulting in negative ablation on many parts of the glacier. The net balance is not affected by this as the unobserved accumulation is exactly balanced by unobserved ablation. This fact allows us to estimate this unobserved accumulation by firstly modelling expected ablation and differencing it against the observed ablation.

Model

The basic model is a positive degree day model. The temperature on glacier is adjusted from that measured at a weather station using an adiabatic lapse rate and a shading model. The lapse rate is itself elevation dependent, empirically derived but justified in the literature. The shading is a hillshade based adjusted summing the "daylight" hours shade at each pixel and normalising this against the maximum value found for the whole glacier on each day.

To run the model you will need

  1. A DEM of your glacier and the surrounding mountains (for shade values)
  2. Daily average temperatures at a nearby AWS
  3. LSASO.py
  4. Shade.py
  5. standard.py
  6. spatialfiles.py
  7. Dependencies indicated in the "imports" in the Python scripts.
    • numpy, scipy, osgeo (gdal, osr), matplotlib, statsmodels, ephem

Files

Note that many of these files are not needed and are only present here for the author's use during assessment of the model performance.

  1. Comp2Sets.py
  2. DiffTrigger.py
  3. GetBest.py
  4. KrigTrigger.py
  5. lsa.py
  6. lsaModel.py
  7. LSASO.py
    • Main Model file. Runs simplex algorithm to find best parameter combination unless parameters provided in settings and called with "p". Iteratively calculates unmeasured snow.
  8. nao.py
  9. opparan.py
    • Analyse data from optimisation runs on all years, then runs using averages for parameters derived from all years, b1 years and b2 years
  10. README.md
  11. Shade.py
  • Creates a geotiff file containing multiple layers, each layer the shade cast on glacier for each julian day
  1. smhiPrecipPlot.py
  2. smhisort.sh
  3. SumTrigger.py
  4. spatialfiles.py
  5. standard.py

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.