EstimateHabitat is a selection of files used to calculate the changes in light conditions in the upper part of the water column in the ocean accounting for thickness of sea-ice and snow andgorgraphical locations and time of the year. The files area a combination of Fortran and Python files compiled using Cython (setup.py).
- 02.05.2018: Added the files to Github
- Compile: A cython function which is found in the file calculateLightUnderIce.pyx is compiled with: python setup.py build_ext --inplace
- Download the NorESM historical and future predictions files (any scenario) as input: {variable}_Omon_NorESM1-M_%s_r1i1p1_200601-210012_rectangular.nc and {variable}_OImon_NorESM1-M_historical_r1i1p1_185001-200512_rectangular.nc where variable is all of ["sit", "sic", "snd", "ialb", "tos"]
- calculateMaxLightEntireArctic.py is run first and creates an output file: Light_and_temperature_1850_2100_Arctic.nc
- Execute estimateHabitat.py to calculate the geographical changes in tos and light combined for decadal periods