Question-and-Answer Resource for the Building Energy Modeling Community
Get started with the Help page
Ask Your Question
3

Issue Downloading OSMs from PAT 2.0

asked 7 years ago

Alex Bennett's avatar

updated 7 years ago

I ran analysis with 1600 models using PATs algorithmic mode in LHS. The results CSV was populated properly but when I tried to download all the OSMs(by pressing the OSM cloud download button), PAT only downloaded 200. It appears to only be downloading the ones shown on the main PAT page but I want to download all of them. Is there an easy way to do this? I looked at the Server but it appeared to only let you download one at a time to. Thanks for the help!

Preview: (hide)

2 Answers

Sort by » oldest newest most voted
4

answered 7 years ago

Here's another solution that you can use in the meantime. It uses the Firefox browser with the DownThemAll plug-in.

  1. Go to the analysis on the server page and click View All. All the datapoints will now be listed on a single page. image description

  2. Right-click on the page and choose the DownThemAll plug-in. Check the box next to the "Archive" filter, as you want to download the datapoint.zip files. image description

Preview: (hide)
link

Comments

This is perfect for right now. Thanks!

Alex Bennett's avatar Alex Bennett  ( 7 years ago )
3

answered 7 years ago

You're correct that the PAT interface only downloads datapoints within the UI, which is intentionally capped to limit bandwidth. The server UI doesn't currently have a "download all" functionality for much the same reason - bandwidth management. The OpenStudio Server API contains the download functionality. Here's some Ruby code that may be close to what you're after.

The limit in PAT isn't hard to change, and could probably be turned into a preference value. Similarly a download all button could probably be added to the server interface without much trouble. This is the sort of thing that would be good to post on UserVoice to let the community weigh in on preferences.

Preview: (hide)
link

Comments

If you want to use the ruby script, here's an example of its usage: ruby complete_localResults.rb -p ../project_resstock_efs_01 -s http://ec2-11-222-33-44.compute-1.amazonaws.com -a 0ba3bdf4-9569-4901-ae50-cda3c68f7f88

shorowit's avatar shorowit  ( 7 years ago )

Can you point to the exact location where the download limit in PAT can be changed? I am looking to download multiple result files together.

Thanks

Vishak's avatar Vishak  ( 6 years ago )

The limit is hard-coded into PAT, you would have to modify the source code.

shorowit's avatar shorowit  ( 6 years ago )

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Training Workshops

Careers

Question Tools

1 follower

Stats

Asked: 7 years ago

Seen: 369 times

Last updated: Oct 24 '17