Replies: 6 comments 37 replies
-
I know about the work of Bueno but I didnt know that there was a Python version available. Potentially, very interesting! Regarding turbulence (wind), UWG is a local scale model whereas SOlWEIG is solving radiation at the micro scale. However, using UWG to force SOLWEIG is definelty something to look into. |
Beta Was this translation helpful? Give feedback.
-
What OS are you using? One crucial point that has to be solved is if the tool will function within QGIS. One easy test is to execute the tool via Python console in QGIS. Also, the dependencies used by UWG should not be in conflict with the QGIS software system. |
Beta Was this translation helpful? Give feedback.
-
Wind direction is included in UMEP. The thing is that UWG does not include canyon alignment (direction) as far as I can see, so wind direction becomes trivial. You should remember that UWG generator is a local scale model whereas SOLWEIG is a micro scale. UWG would be incorporated into UMEP to feed e.g. SOLWEIG with local scale air temperature and humidity. Micro scale pedestrian wind (canyon turbulance) will not be solved by including UWG into UMEP. |
Beta Was this translation helpful? Give feedback.
-
Hi Csilla, I didn't see your email until now. I was corresponding in the Discussion section of UMEP-Dev and in the last post suggested VCWG.The VCWG co-developer Dr. Aliabadi (AOGuelph) replied to me yesterday that he and Dr. Mohani would be available for answering questions to integrate VCWG at the microscale.By that I meant a raster grid where 1 pixel = 1 m².Dr. Aliabadi also wrote that the final copy of their GMD article (linked in my Discussion post) will be put on line in the next two to three days. Best regards,Tim 16.02.2021, 17:50, "Csilla V Gal" <[email protected]>: Hi Fredrik,As you know, UWG only "urbanizes" air temperature and relative humidity (while leaving dew point temperature values untouched). It requires the weather file to be in epw format. I could check later which are the minimum weather parameters that that the program will still runs with. However, if you need a quick answer, it's better if you reach out to the team https://pypi.org/project/uwg/For wind, there is VCWG (https://zenodo.org/record/3376792). It is a sort of extension of UWG that predicts the vertical profile of wind speed as well. According to some prelim. results, it considers canyon orientation in radiation, but I would need to test for wind speed/direction. It too is in Python (v2.7). However, it is still in development and hence, a bit buggy and the latest changes/developments lack documentation.Best,Csilla—You are receiving this because you authored the thread.Reply to this email directly, view it on GitHub, or unsubscribe.
|
Beta Was this translation helpful? Give feedback.
-
I converted VCWG v1.3.2 files from python 2 to python 3. It can now run on python version 3.9 (conda env). Next will try to get it to work from the QGIS python console. |
Beta Was this translation helpful? Give feedback.
-
Hi Csilla, that is a good question.
I will ask Mohsen if he could upload/update his GitHub VCWG repository to version 1.3.2, so that issues and discussions can take place there. You could also email Mohsen directly, his address is in the article.
I have attached the Python 3 version of VCWG 1.3.2 if you are interested.
I used 2to3.py in conda to step through the conversion while I ran VCWG. It is a rough-cut.
Maybe we need to create a pypi package, already done for uwg, so that the VCWG modules be installed in a conda/QGIS environment?
[VCWG v1-3-2_(Python3-8_QGIS3-16).tar.gz](https://github.com/UMEP-dev/UMEP/files/6140109/VCWG.v1-3-2_.Python3-8_QGIS3-16.tar.gz)
|
Beta Was this translation helpful? Give feedback.
-
The Urban Weather Generator (UWG) was translated from Matlab (Bueno, Nakano, Yang) to Python by Saeran Vasanthakumar and uploaded to GitHub.
UWG can be run as a standalone python application from the CLI, in conjunction with the uwg-schema package.
To run as such, it does not require any components from the rhino plugins (e.g. grasshopper etc).
I am curious to know whether components of the UWG model can be of use for SOLWEIG?
For example the turbulence model?
There is a case study for the City of Vienna, which compares UWG with the WRF model.
https://link.springer.com/content/pdf/10.1007%2Fs12273-019-0564-y.pdf
"The results further indicated that the meteorological output from the UWG and morphing models is closer to the monitored data, when compared to the output from the WRF model."
https://github.com/ladybug-tools/uwg
https://github.com/ladybug-tools/uwg/blob/6ff8e44ef0a35217d9f9bfc213c4dcbb926fdeff/uwg/UCMDef.py
https://github.com/ladybug-tools/uwg-schema
API docs: https://www.ladybug.tools/uwg/docs/uwg.cli.html
Beta Was this translation helpful? Give feedback.
All reactions