Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stoporad to Python #165

Merged
merged 18 commits into from
Jun 25, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
009d358
reorganizing the famous radiation.py into it's own package
scotthavens Jun 11, 2020
46020f0
complete reorg of solar and thermal in envphys to make it easier to u…
scotthavens Jun 12, 2020
b3cff78
elevrad is calculating, changed up twostream output to a dict to make…
scotthavens Jun 12, 2020
5422548
moved elevrad to class, added notebook and compare with IPW elevrad i…
scotthavens Jun 12, 2020
131f5e5
twostream at a point also working and updated tests
scotthavens Jun 12, 2020
920a65a
toporad complete, just noise difference with IPW toporad
scotthavens Jun 12, 2020
2715f7d
toporad test
scotthavens Jun 12, 2020
a5e5d32
framework for stoporad is there but there are some horizon and vis/ir…
scotthavens Jun 12, 2020
1327832
dy in topo should be absolute for aspect calc, masking horizon
scotthavens Jun 15, 2020
e13996f
stoporad working in python and is within the bit noise of the IPW sto…
scotthavens Jun 16, 2020
065391f
new stoporad that is optimized for SMRF inputs, needed a np.copy
scotthavens Jun 16, 2020
1dd5470
threading with new stoporad, removed the threads for vis and ir calc …
scotthavens Jun 17, 2020
a67ee4b
removed tempDir from solar and __exit__ in SMRF that cleans up the te…
scotthavens Jun 17, 2020
2f8a063
docs and added codeclimate config
scotthavens Jun 17, 2020
4415a48
updated gold files, all tests passing
scotthavens Jun 17, 2020
30b69c0
some code cleanup
scotthavens Jun 17, 2020
9f2f36c
checked the log and there were warnings coming from solint, relaxed t…
scotthavens Jun 17, 2020
47454dd
updating based on the review
scotthavens Jun 18, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: "2"
checks:
argument-count:
config:
threshold: 6
file-lines:
config:
threshold: 300
method-complexity:
config:
threshold: 8
method-lines:
config:
threshold: 30
70 changes: 70 additions & 0 deletions docs/api/smrf.envphys.solar.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
smrf.envphys.solar package
==========================

Submodules
----------

smrf.envphys.solar.cloud module
-------------------------------

.. automodule:: smrf.envphys.solar.cloud
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.ipw module
-----------------------------

.. automodule:: smrf.envphys.solar.ipw
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.irradiance module
------------------------------------

.. automodule:: smrf.envphys.solar.irradiance
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.model module
-------------------------------

.. automodule:: smrf.envphys.solar.model
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.toporad module
---------------------------------

.. automodule:: smrf.envphys.solar.toporad
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.twostream module
-----------------------------------

.. automodule:: smrf.envphys.solar.twostream
:members:
:undoc-members:
:show-inheritance:

smrf.envphys.solar.vegetation module
------------------------------------

.. automodule:: smrf.envphys.solar.vegetation
:members:
:undoc-members:
:show-inheritance:


Module contents
---------------

.. automodule:: smrf.envphys.solar
:members:
:undoc-members:
:show-inheritance:
260 changes: 230 additions & 30 deletions notebooks/gold_files_lakes.ipynb

Large diffs are not rendered by default.

260 changes: 230 additions & 30 deletions notebooks/gold_files_rme.ipynb

Large diffs are not rendered by default.

260 changes: 230 additions & 30 deletions notebooks/gold_files_rme_hrrr.ipynb

Large diffs are not rendered by default.

Loading