nsidc / beer_lambert_rt Goto Github PK
View Code? Open in Web Editor NEWBeer-Lambert Radiative Transfer Model used for Stroeve et al 2021
License: MIT License
Beer-Lambert Radiative Transfer Model used for Stroeve et al 2021
License: MIT License
The code for calculating transmittance (see below) does not match Equation 2 of Stroeve et al (2021). Transmittance for snow covered ice is defined as:
However, in the code, the thickness of the surface scattering layer for wet snow (
def get_f_att_snow(hsnow,hice,temperature):
# surface transmission layer thickness (m)
#surface transmission parameter
# i_0_snw = 0.45 # for wet snow (changed from 0.3)
i_0_snw = 1.0 #for dry snow (changed from 0.3)
i_0_ice = 0.26 # for ice (may change) Changed to 0.26 from 0.3
# surface transmission layer thickness (m)
h_0_snw = 0.0 # for dry snow only
h_0_ice = 0.1 # for bare ice ice (may change !)
K_i = 1
K_s=7. #for dry snow
if (temperature > 0): #wet snow case
K_s=5. #wet snow #new coefficient for wet snow (used to be 7)
i_0_snw = 0.45
h_0_snw = 0.03; # for wet snow only
if (hsnow > 0.) & (hsnow <= 0.03): #correction for SSL < 0.03
K_s=40.
#normal transmittance equation regardless of wet or dry snow
f_att_snow = i_0_snw*exp(-K_s*(hsnow))* exp(-K_i*hice) #normal extinction for SSL > 0.03
#modify if the snow depth is 0cm
if (hsnow == 0):
if (hice < 0.5):
f_att_snow=exp(-K_i*hice)
elif (hice < 0.1):
K_i=12
f_att_snow=exp(-K_i*hice)
elif (hice >=0.5) & (hice <=0.8):
hssl=(1./3.)*hice-(1./6.)
f_att_snow=i_0_ice*exp(-K_i*(hice-hssl))
else:
f_att_snow=i_0_ice*exp(-K_i*(hice-h_0_ice))
return(f_att_snow)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.