3

Issue Downloading OSMs from PAT 2.0

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!

Alex Bennett's avatar
327
Alex Bennett
asked 2017-10-23 16:35:22 -0500
__AmirRoth__'s avatar
4.4k
__AmirRoth__
updated 2017-11-10 08:02:11 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

2 Answers

4

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

shorowit's avatar
11.8k
shorowit
answered 2017-10-24 08:54:01 -0500
edit flag offensive 0 remove flag delete link

Comments

This is perfect for right now. Thanks!

Alex Bennett's avatar Alex Bennett (2017-10-24 09:28:06 -0500) edit
add a comment see more comments
3

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.

ljbrackney's avatar
3.8k
ljbrackney
answered 2017-10-23 17:27:28 -0500
edit flag offensive 0 remove flag delete 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 (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.

Thanks

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
add a comment see more comments