Skip to content
Snippets Groups Projects
Commit 2d9a9855 authored by Bouvry Arnaud's avatar Bouvry Arnaud
Browse files

[feature] New module sky_model with Reinhart sky discretization scheme

* Reinhart sky discretization scheme is in a new module sky_model in a new class ReinhartSky. 
Its only input is multiplying factor MF, that is used to multiply the 145 patches from the "original" Tregenza sky subdivision scheme into as many patches (e.g. MF = 4 subdivides each of the patches of the Tregenza scheme in 4). 
Only the top patch is not subdivided like the others, but its size decreases as MF increases.

* Conversion function from spherical to cartesian coordinates is in new file conversion_functions.py.
Inputs are documented in the function docstring.
Conversion functions should be stored there and reused as much as possible to reduce risks of errors.


Closes #116
parent ff28edf3
No related branches found
No related tags found
2 merge requests!32[feature] New module sky_model with Reinhart sky discretization scheme, water balance correction in GrasSim,!23Resolve "[feature] Add Tregenza/Reinhart sky discretization scheme"
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment