-
Notifications
You must be signed in to change notification settings - Fork 4
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
Gen room command does not work #53
Comments
It looks like the installation didn't pick up the latest frads. Yours is at 0.2.10, and the latest is 1.2.4. |
@taoning unfortunately this one is gone |
You can do a |
Did not quite work, there are a few errors at the end. (base) ..@... test_frads % pip install --force-reinstall frads==1.2.4 |
This is what I get from version: In [1]: import frads In [2]: print(frads.version)AttributeError Traceback (most recent call last) AttributeError: module 'frads' has no attribute 'version' In [3]: frads.version_check |
Thanks, this helps. |
@ taoning: Hi thank you. I have anaconda an I downloaded it, and did not install it via the command line. There is just one version there. Python 3.9.13 |
Can you try this in your python
|
In [1]: import platform In [2]: platform.processor() |
You should see 'arm', not 'i386', if you are using m1 mac. |
How it is this one: In [1]: import platform In [2]: platform.processor() |
% python --version |
What steps do you suggest next. |
Let's try to reinstall frads again with |
It gives me this error: ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. |
this does not work anymore In [1]: import frads In [2]: print(frads.version)AttributeError Traceback (most recent call last) AttributeError: module 'frads' has no attribute 'version' In [3]: frads.version_checkAttributeError Traceback (most recent call last) AttributeError: module 'frads' has no attribute 'version_check' |
Thanks for your help |
It should be frads.__version__On Feb 24, 2024, at 11:09 AM, Christine Koepferl ***@***.***> wrote:
Thanks for your help
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you were mentioned.Message ID: ***@***.***>
|
It seems to be 1.2.4 Ok, how am unsure that everything works now. Is there some test I can use? I guess the one with the gen room is not ready yet. |
It's ready now, make sure you upgrade frads to 1.2.5 |
Hi, where did you put the update https://lbnl-eta.github.io/frads/how-to/guide_rad1/ is still the old version -- I think -- no windows in the display etc. a few typos in |
Should be fixed now. |
Unfortunately I still see no windows. Also how would you plot the output "results" in matplotlib? But it runs through now |
(base) greif@maccmg test_rtace % gen room 12 14 4 3 |
you can do |
not quite sure about the plotting though. I get an output as a string |
You'd have to convert string to list of the floats, then use matplotlib to plot it as a scatter plots. |
I give it a try. This typo ist still in, as the below it should work. floor_primitives = fr.utils.unpack_primitives("Objects/floor_aroom.rad") |
I only have on layer of results. It is 1-d |
You should be able to use |
This works, but in the tutorial is an "s" missing. This is why I came up with the change. |
Sorry I can not see the image you sent. |
I am currently working through this tutorial.
https://lbnl-eta.github.io/frads/how-to/guide_rad1/
gen room 12 14 3
-w 0.4 1 2.5 1.8
-w 3.3 1 2.5 1.8
-w 6.2 1 2.5 1.8
-w 9.1 1 2.5 1.8
-t 0.1 -n aroom
does not work. It returns me the following error:
gen room 12 14 3 \
-w 0.4 1 2.5 1.8
-w 3.3 1 2.5 1.8
-w 6.2 1 2.5 1.8
-w 9.1 1 2.5 1.8 \
-t 0.1 -n aroom
usage: gen room [-h] [-w start_x start_z width height] [-n NAME] [-t Facade thickness] [-r ROTATE] width depth flrflr flrclg
gen room: error: the following arguments are required: flrclg
Just to be sure, I currently have version:
In [1]: import frads
In [2]: print(frads.version)
0.2.10
However the installation of the below did not quite work, because a file was missing:
pip install git+https://github.com/taoning/pyenergyplus_wheels
Collecting git+https://github.com/taoning/pyenergyplus_wheels
Cloning https://github.com/taoning/pyenergyplus_wheels to /private/var/folders/c2/tthc2_6j741c3rvx9vpjppwh0000gn/T/pip-req-build-ihxnqfnq
Running command git clone --filter=blob:none --quiet https://github.com/taoning/pyenergyplus_wheels /private/var/folders/c2/tthc2_6j741c3rvx9vpjppwh0000gn/T/pip-req-build-ihxnqfnq
Resolved https://github.com/taoning/pyenergyplus_wheels to commit 664456bc5428ad50ace2c2bc729bbc486afa0435
Preparing metadata (setup.py) ... done
Collecting pyenergyplus@ https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
ERROR: HTTP error 404 while getting https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
ERROR: Could not install requirement pyenergyplus@ https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl from https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl (from pyenergyplus-wheels==0.1.0) because of HTTP error 404 Client Error: Not Found for url: https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl for URL https://github.com/taoning/pyenergyplus/raw/main/wheels/darwin/pyenergyplus-23.1.0-py3-none-macosx_10_13_x86_64.whl
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: