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

pyRadiance integration #533

Open
cdeline opened this issue Aug 27, 2024 · 4 comments
Open

pyRadiance integration #533

cdeline opened this issue Aug 27, 2024 · 4 comments
Assignees
Labels
v0_6_0 Target for v0.6.0 release

Comments

@cdeline
Copy link
Contributor

cdeline commented Aug 27, 2024

LBNL has a new python wrapper around RADIANCE binaries. This may improve integration and eliminate issues users are having with properly installing RADIANCE and setting RAYPATH, etc.

It appears that the underlying C binaries are still being used, just with a more pythonic wrapper, so there should be no performance issues.

Repo: https://github.com/LBNL-ETA/pyradiance
Reference pages: https://lbnl-eta.github.io/pyradiance/reference/

@cdeline cdeline self-assigned this Aug 27, 2024
@cdeline cdeline added the v0_6_0 Target for v0.6.0 release label Sep 23, 2024
@fredrbl
Copy link

fredrbl commented Sep 25, 2024

Ah, @cdeline this would be amazing!
I am trying to set up a docker image with bifacial_radiance, and this is a pain because of the Radiance installation..! If I understand this PR correctly, this could make my Dockerfile (and the image) a whole lot simpler.

(If you already have some pointers or Dockerfiles that installs Radiance (I understand it would have to be the full Radiance (core+extra) in docker, I would greatly appreciate that as well :D )

@shirubana
Copy link
Member

I agree :D

But, also, there is a docker file in bifacial_radiance that does the radiance install...

image

@fredrbl
Copy link

fredrbl commented Sep 25, 2024

Thanks for response @shirubana !

From what I understood from this Dockerfile (I assume it is this: https://github.com/NREL/bifacial_radiance/blob/main/docker/Dockerfile), it does not take the entire Radiance code (i.e both core and extra). And this would be required to run certain commands in bifacial_radiance, such as gencumsky. Please correct me if Ive misunderstood. (however, I can maybe use the gendaymtx from pyradiance instead of gencumsky).
But I will give it a go and test! Thanks again for the tip.

@shirubana
Copy link
Member

shirubana commented Sep 25, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
v0_6_0 Target for v0.6.0 release
Projects
None yet
Development

No branches or pull requests

3 participants