-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New method `RadianceObject.generate_spectra`. Generates spectra directly from radiance object and saves the generated files in the "spectra" folder in the radiance scene directory. When passing `scale_albedo_nonspectral_sim` the `radianceObject.metdata.albedo` is automatically updated with the new weighted albedo values so there is no need to re-read weather to continue the simulation. Additionally, a datetime-indexed csv with the weighted albedo is placed in the "spectra" folder. Spectra generation will now process for the entire length of metdata within the radiance object, so whatever datetime-range is specified in `readweather` will be processed by `generate_spectra`.
- Loading branch information
1 parent
14fa70c
commit 8b73d11
Showing
2 changed files
with
146 additions
and
104 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8b73d11
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Also: changed
generate_spectra
's use of pySMARTS albedo from "Zonal_" to "Local_ground_reflectance". Though practically similar, Zonal is intended for applications above 10 square kilometers.