Closed Zoe-Fehlau-ES closed 1 year ago
I just added some useful links to the example you're using:
You might also be interested in these examples of how to set up your own local HSDS server and how to run reV on an AWS parallel cluster.
HSDS is a behind the scenes data service that streams data from AWS S3 to your local machine. "Using your own service" would not result in any changes to the code you pasted. It only changes what happens behind the scenes.
Thank you for explaining that and adding that line. What is the benefit of setting up your own local HSDS server and how to run reV on an AWS parallel cluster then? Is it just helpful for large and numerous reV jobs?
At this point i'd suggest reading through those examples...
If you're streaming a lot of data via HSDS you'll need to stand up your own HSDS server. The public NREL API won't support large volumes of data and you'll start getting errors.
If you're analyzing a lot of locations for many years (we typically do millions of locations for ~10 years), you can't do this compute on a laptop. AWS parallel cluster is a super computer in the cloud that looks just like our HPC at NREL and allows you to do large scale studies.
Thank you for answering my simple questions. You have been a lot of help.
No problem! reV can be confusing. We're working on improving the auto-docs right now but it's a big effort.
@grantbuster Sorry to bug you again but I am confused if I am following the Setting up a Local HSDS Server correctly. When I get to step 9 hsinfo, I am getting something that looks different than the instructions but I have redone them three times. I get: Vs the instructions get:
The server names are different and my endpoint should be: http://localhost:5101, right?
1) did you include the --no-docker
flag?
2) I think your HSDS config is still set to the NREL API based on the hsinfo printed endpoint. Make sure everything is set up in .hscfg and make sure your shell recognizes it (you may need to restart your shell or run a source on your rc files)
I ran runall.bat --no-docker and changed my .hscfg to the following:
But now I am getting: username/password not valid for username: zfehlau@energystrat.com
Please follow the instructions EXACTLY. The only thing that should be in your hscfg is one line: hs_endpoint = http+unix://%2Ftmp%2Fhs%2Fsn_1.sock
Oh I have it working now. Sorry, I interpreted step 11 like step 6 where I just update hs_endpoint. Thank you for the help and sorry for my silly mistakes
examples/running_with_hsds
I am currently trying to setup my own service as described in the link (any help there would be appreciated). But I was wondering if there was some example code of how using my own service is different than the code below: