A suite of tools for computing sensible heat fluxes from the BLS450 scintillometer and working with 2D flux footprints.
This project has moved to gampnico/scintillometry, where it has been rewritten from scratch.
This repository has been archived. It was written a long time ago for a field course with a very strict deadline, and what spaghetti code remained is now deprecated with little utility. If you have any existing forks or local clones, please delete them.
If you are interested in an updated package for analysing BLS scintillometer measurements, please consider the new Scintillometry package.
Running scripts directly from the console will cause errors. Not all data and dependences are available in this repository, and some of the scripts must be tailored to each individual project, notably station parameters and the times when the boundary layer switches from stable to unstable regimes.
The results of working examples are found in Scintillometry Processing.ipynb
and Footprint Rasters.ipynb
. The field course report and analysis is not available.
Before beginning, use DGM 5m data to generate topographical data for the scintillometer’s path coordinates. Then, use core_path_calculator.m
to generate path transects. These are also necessary for calibrating the scintillometer.
Scintillometer path coordinates must be accurate. Incorrectly generated topographical data leads to poor calibration and nonsense results!
An example of scintillometry processing can be found in Scintillometry Processing.ipynb
.
data_parser.py
to parse scintillometer and weather data.cn_derivations.data_processor()
to derive $Cn^{2}$. Make sure to enter the correct regime switch time.r_function_port.ward_method()
, a Python port of Helen Ward’s code, to compute the Obukhov length and sensible heat flux.Use the functions in prettyplot.py
to visualise data.
Some example code is given in Footprint Rasters.ipynb
, but individual adjustments are necessary.
Calculate xllcorner,yllcorner coordinates:
xllcorner = xllcenter - (nrow * cellsize)/2
Generate ASCII raster files, inserting correct coordinates.