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

Issue Downloading OSMs from PAT 2.0

asked 2017-10-23 16:35:22 -0500

Alex Bennett's avatar

updated 2017-11-10 08:02:11 -0500

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!

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2017-10-24 08:54:01 -0500

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 files. image description

edit flag offensive delete link more


This is perfect for right now. Thanks!

Alex Bennett's avatar Alex Bennett  ( 2017-10-24 09:28:06 -0500 )edit

answered 2017-10-23 17:27:28 -0500

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.

edit flag offensive delete link more


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 -a 0ba3bdf4-9569-4901-ae50-cda3c68f7f88

shorowit's avatar shorowit  ( 2017-10-24 08:59:20 -0500 )edit

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.


Vishak's avatar Vishak  ( 2019-03-06 02:32:59 -0500 )edit

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

shorowit's avatar shorowit  ( 2019-03-06 10:18:44 -0500 )edit

Your Answer

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

Add Answer


Question Tools

1 follower


Asked: 2017-10-23 16:35:22 -0500

Seen: 290 times

Last updated: Oct 24 '17