Code Monkey home page Code Monkey logo

barthoekstra / orographic-landscape-navigator Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 20.86 MB

Code for my BSc thesis on the influence of orographic lift on flight behaviour/strategy selection (flapping or soaring) in herring gulls and lesser black-backed gulls from a colony on Texel, The Netherlands.

Home Page: https://doi.org/10.1038/s41598-019-46017-x

License: GNU General Public License v3.0

MATLAB 76.20% Python 0.58% HTML 14.49% C 6.63% C++ 2.11%

orographic-landscape-navigator's Introduction

Orographic-Landscape-Navigator

Thesis abstract

Orographic lift, the upward deflection of horizontal airflows, can be caused by large-scale structures, such as mountain ridges, but also by micro-topographic features, such as dunes, dykes, buildings and even vegetation. Gulls, due to their morphology, are able to continuously adjust their flight strategy to the local aerial conditions. The extent to which these flight generalists use small-scale orographic lift conditions to optimise their energy efficiency of flight, has not been studied before. Research has shown, however, that a significant share of soaring occurs at low altitudes, suggesting a strong link to surface processes. The aim of this study was to quantify the opportunities and conditions for soaring on orographic lift along the flyways of a Dutch population of herring gulls (Larus argentatus) and lesser black-backed gulls (L. fuscus). Flight tracks were annotated with orographic lift rates, modelled using a high-resolution digital surface model. Low-altitude soaring is preferred when orographic lift rates are between 0.8 and 4.2 m/s. In herring gulls a larger share of this soaring can be explained by orographic lift than in lesser black-backed gulls, 35% and 19% respectively, which indicates a stronger preference for orographic lift soaring in the former species. Predicting low-altitude soaring using logistic regression models suggests a modest influence of orographic lift on the soaring flight probability, as the best model was only up to 60% accurate. This, however, is most likely a result of the quality of the used predictors, rather than an indication of the limited use of orographic lift to facilitate low- altitude soaring.

Requirements

  1. MATLAB with:
  2. Mapping Toolbox
  3. Parallel Computing Toolbox. You could do without, but your code will be (much) slower, in which case you need to replace all occurences of parfor with for.
  4. GDAL command line tools
  5. Python3

Data sources

  1. Digital Surface Model from the Algemeen Hoogtebestand Nederland
  2. Hourly weather (wind) data from the Dutch Meteorological Institute (KNMI)
  3. Weather station data from data.overheid.nl

All data acquisition is automated and thoroughly documented within the code.

Troubleshooting

1. GDAL commands not working because of library issues (related to e.g. libtiff)

In order for gdalwarp to work, libtiff from MATLAB may have to be replaced, which can be done by moving the existing library to another folder (libs.bak) and symlinking a new one, as follows:

cd /Applications/MATLAB_R2016b.app/bin/maci64
mkdir libs.bak
mv libtiff.5.dylib libs.bak/
ln -s /usr/local/opt/libtiff/lib/libtiff.5.dylib

Source

If the solution above does still not solve issues, you could rewrite the code to generate a simple text file with all the commands listed. It is then possible to just copy-paste this list of commands in the Terminal and execute the statements. This is inconvenient, but so is fixing issues related to the interaction of MATLAB and GDAL libraries.

orographic-landscape-navigator's People

Contributors

barthoekstra avatar

Stargazers

 avatar  avatar

Watchers

 avatar

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.