Vectorworks, Inc Employee Popular Post SBarrettWalker Posted November 29, 2016 Vectorworks, Inc Employee Popular Post Share Posted November 29, 2016 (edited) Hello All - I have been working on some weather analysis graphs in Marionette and here is the first - a Wind Rose. This Wind Rose downloads weather data from the internet and builds a graph (it saves the data to your User Folder). Once it downloads the data, the information is available offline, but every time you run it, it must go to the internet to find the latitude and longitude of the location you type in. So when using this, always make sure you have a valid internet connection! Here is a quick video to show you how it works. (File will be in the next post) Edited December 19, 2016 by sbarrett 6 Quote Link to comment
Vectorworks, Inc Employee Popular Post SBarrettWalker Posted November 29, 2016 Author Vectorworks, Inc Employee Popular Post Share Posted November 29, 2016 Here is the Wind Rose File. 8 Quote Link to comment
twk Posted November 30, 2016 Share Posted November 30, 2016 This is a great example of Marionette capabilities..! Haven't gone through the network setup, but from the demo vid, it sure is amazing. Thanks for the share! Quote Link to comment
AlanW Posted November 30, 2016 Share Posted November 30, 2016 So I typed in Sydney Aus and low an behold the wind rose was exactly what happens throughout the months. Strong westerly's in Sept Oct and North Easterly's in summer. Pretty fancy. Quote Link to comment
Vectorworks, Inc Employee Popular Post SBarrettWalker Posted December 21, 2016 Author Vectorworks, Inc Employee Popular Post Share Posted December 21, 2016 (edited) Hello All! Here are the rest of the Weather Analysis Tools I have been working on. These have the same caveats as the Wind Rose - all of them access the internet every time the network is run. These are also a lot newer than the Wind Rose, so there may still be some kinks - I would call these beta versions. Please let me know if you have any issues! WeatherAnalysis-Precipitation-161221.vwx WeatherAnalysis-Psychrometrics-161221.vwx WeatherAnalysis-SolarPath-161221.vwx WeatherAnalysis-Temperature-170125.vwx Edited January 25, 2017 by sbarrett There was a bug that was discovered in the Temperature chart when using degrees Celsius - please download and use this updated version. 8 Quote Link to comment
mike m oz Posted December 21, 2016 Share Posted December 21, 2016 Sarah these are amazing. Thank you. Quote Link to comment
rDesign Posted December 22, 2016 Share Posted December 22, 2016 @sbarrett- these are great tools! Thank you for sharing. Very nice graphic design as well. I was wondering if there is a way to utilize the 'Solar Path' Marionette network to create the daylight and visible sky component calculations / diagrams as described over in this post? Thanks. Quote Link to comment
J. Wallace Posted January 25, 2017 Share Posted January 25, 2017 On 12/21/2016 at 7:00 AM, sbarrett said: Hello All! Here are the rest of the Weather Analysis Tools I have been working on. These have the same caveats as the Wind Rose - all of them access the internet every time the network is run. These are also a lot newer than the Wind Rose, so there may still be some kinks - I would call these beta versions. Please let me know if you have any issues! WeatherAnalysis-Precipitation-161221.vwx WeatherAnalysis-Psychrometrics-161221.vwx WeatherAnalysis-SolarPath-161221.vwx WeatherAnalysis-Temperature-161221.vwx These are fantastic @sbarrettthank you very much. With the precipitation file, would it be hard to show total annual rainfall along with the monthly? Quote Link to comment
NikF Posted January 25, 2017 Share Posted January 25, 2017 Fantastic tool created, congratulate! I tried to put in the cities of Austria/Europe and it works within the wind rose, but not with the others. Anything to change when I use it!? Maybe the country code... Thank you! Nik Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 25, 2017 Author Vectorworks, Inc Employee Share Posted January 25, 2017 Hello @NikF I just tried inputting "Vienna" into the Temperature Chart and it seems to work. The address locator is similar to Google maps - it takes a lot of different input formats. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 25, 2017 Author Vectorworks, Inc Employee Share Posted January 25, 2017 2 hours ago, J. Wallace said: These are fantastic @sbarrettthank you very much. With the precipitation file, would it be hard to show total annual rainfall along with the monthly? Not necessarily - it was something I was considering. The reason I chose monthly rainfall is that to get a good graph of annual rainfall you need to download a lot of years of data - all of these tools use the same data files, and the rainfall data is hourly. The current precipitation chart downloads the hourly data and averages it by month. If I did total annual rainfall I would make it a separate chart, because combining the two data types (average and total) would change the range and layout of the graph. Quote Link to comment
fabrica Posted January 26, 2017 Share Posted January 26, 2017 18 hours ago, sbarrett said: Hello @NikF I just tried inputting "Vienna" into the Temperature Chart and it seems to work. The address locator is similar to Google maps - it takes a lot of different input formats. The precipitation one doesn't seem to work with European Cities /Countries , all the others do? i.e., typing Rome in Temperature object works but not in precipitation.... Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 26, 2017 Author Vectorworks, Inc Employee Share Posted January 26, 2017 Ah - that is probably due to the data - the data for the charts all comes from the same site - I wanted to do that so the tools could work together, and once you download the data for one chart, it is available for all the other charts. For some reason, the data for precipitation was sometimes sparse for each weather station. I tried several different websites and chose the one I did because it had the easiest interface to download data and had the best data across the five tools. It sounds like I might have to use a different website for precipitation... Quote Link to comment
J. Wallace Posted January 26, 2017 Share Posted January 26, 2017 4 hours ago, sbarrett said: Ah - that is probably due to the data - the data for the charts all comes from the same site - I wanted to do that so the tools could work together, and once you download the data for one chart, it is available for all the other charts. For some reason, the data for precipitation was sometimes sparse for each weather station. I tried several different websites and chose the one I did because it had the easiest interface to download data and had the best data across the five tools. It sounds like I might have to use a different website for precipitation... @sbarrettI noticed that the precipitation rates for Nanaimo, BC, Canada were off. Environment Canada has an excellent data based for many stations in Canada. It would be great if we could somehow pick which the station the data is coming from. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 26, 2017 Author Vectorworks, Inc Employee Share Posted January 26, 2017 That could be an interesting exercise - perhaps give a choice between different websites, and then be able to compare and contrast. This would be a hefty task though because I would have to create a different script for downloading the data from each website, but still organize the data so it would be universal to the rest of the marionette network. Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 26, 2017 Author Vectorworks, Inc Employee Share Posted January 26, 2017 13 minutes ago, J. Wallace said: @sbarrettI noticed that the precipitation rates for Nanaimo, BC, Canada were off. Environment Canada has an excellent data based for many stations in Canada. It would be great if we could somehow pick which the station the data is coming from. There might be a way to make it more accurate - the network takes data from the THREE closest weather stations to the address you give. Some smaller weather stations don't have great data, so I figured the best way to mitigate that would be to average. There is a way to change this though - if you double-click on the Marionette object, you will see the script inside. Near the beginning of the network, there is an olive green node called "Get Nearby Stations." If you select that node, you will see there is a text box in the OIP that says "3." If you change that 3 to 1 it will only give you the closest station. I find the best weather data comes from airport weather stations, so give an address close to the airport to make sure that weather station is used. 1 Quote Link to comment
J. Wallace Posted January 26, 2017 Share Posted January 26, 2017 3 hours ago, sbarrett said: Near the beginning of the network, there is an olive green node called "Get Nearby Stations." If you select that node, you will see there is a text box in the OIP that says "3." If you change that 3 to 1 it will only give you the closest station. I find the best weather data comes from airport weather stations, so give an address close to the airport to make sure that weather station is used. Great idea sbarrett. Thanks very much. Quote Link to comment
jpoq Posted January 27, 2017 Share Posted January 27, 2017 Hi! Thanks for the weather analysis tools, looks very promising indeed. However I tried to use all of the tools and just got the spinning ball, VW froze. I am using a VW english version on a Mac set to Japanese language. Maybe is that setting that is causing the issues? or the access to the internet? I can open the files but if I change anything on the OIP the whole thing just freezes. Will try to find the issue. Cheers JP Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 27, 2017 Author Vectorworks, Inc Employee Share Posted January 27, 2017 @jpoqthe first time you use the tool it can take up to a couple minutes to update - this is because it has several things it has to download first that it will never have to download again. There will likely be dialog boxes that pop up asking you to install a Python library, press OK when these pop up. If you internet connection is spotty, the definition can time out. I would suggest that before you change anything on the object, that you right-click and select convert to wrapper node. Then you can change all of the parameters that you like and then run the definition after you have done this - I would recommend using an American address first time you run it (because it is an American website) and that you make the time period as small as possible. After you have made all of these changes, run the wrapper node. I hope that helps! Quote Link to comment
digitalcarbon Posted January 30, 2017 Share Posted January 30, 2017 thank you sbarrett for your hard work on this! this is great! can you look at the attached drawings below to see if I'm using the wind rose correct? also, if you look at the rain fall chart, the numbers overlap & 2 months on the wind rose sheet got an error message. 2017.01.30 CoP Weather.pdf Quote Link to comment
jpoq Posted January 31, 2017 Share Posted January 31, 2017 On 2017/1/27 at 11:32 PM, sbarrett said: @jpoqthe first time you use the tool it can take up to a couple minutes to update - this is because it has several things it has to download first that it will never have to download again. There will likely be dialog boxes that pop up asking you to install a Python library, press OK when these pop up. If you internet connection is spotty, the definition can time out. I would suggest that before you change anything on the object, that you right-click and select convert to wrapper node. Then you can change all of the parameters that you like and then run the definition after you have done this - I would recommend using an American address first time you run it (because it is an American website) and that you make the time period as small as possible. After you have made all of these changes, run the wrapper node. I hope that helps! Hi! Thanks a lot for the reply, will try your suggestions and report. Juan Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 31, 2017 Author Vectorworks, Inc Employee Share Posted January 31, 2017 (edited) 20 hours ago, digitalmechanics said: also, if you look at the rain fall chart, the numbers overlap & 2 months on the wind rose sheet got an error message. hi @digitalmechanics - The errors for the wind rose are timeout errors from accessing the internet - this can happen when the internet connection is a little slow, or if you try changing the Marionette object several times very quickly. Just try running it with those parameters again - it should work. If you get the error again, check your internet connection and try again. As for the Precipitation chart, I see your problem - for a place like Phoenix this problem makes sense because it gets very little rainfall. I will have to make an edit to place the average value to the right or left of the bars of the graph. Edited January 31, 2017 by sbarrett Quote Link to comment
Jack17 Posted January 31, 2017 Share Posted January 31, 2017 Hi, Very nice scripts. Would it be possible to display the identity of the exact weather stations and the database source that is used from those stations. As an example when we do solar PV analysis we know the exact source and location of the data. It would be convenient to be able confirm the coordination of the data used. Also, it appears that I can enter three letter airport codes for a result, or I can enter the city name and get a result. What happens is that I get different results without knowing where the weather stations are actually located. It also might be great for a little google map to pop up with the exact weather station locations that are used. It appears the the location data is actually in the scripts as latitude and longitude, it would be great to display it. I'm a novice at Marionette, otherwise I would try to do this myself. Thx Quote Link to comment
Vectorworks, Inc Employee SBarrettWalker Posted January 31, 2017 Author Vectorworks, Inc Employee Share Posted January 31, 2017 That is definitely something that can be added to the script - I mentioned in an earlier post that the script takes data from the three closest weather stations to the location entered into the OIP. If I enter a city, like Baltimore, MD, the geocoded function in the script will extrapolate that city's "center," which may not be the geographic center of the city but a particular landmark. As there may be several weather stations in a city, the more specific you can make the address (as in 1234 Main St., Baltimore, MD) the more accurate the weather station choices will be. I will add printing out a list of weather stations to my version 2.0 list. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.