Closed ssolson closed 1 week ago
@PjEdwards I was just looking back at our discussion on #285.
At that time we reasoned the problem was the amount of data being requested. However, in the above examples I am only requesting a single data point from multiple endpoints.
Any ideas?
Hi @ssolson. Ooof, it's been a minute since you asked this. Just now reviewing all open issues and, unfortunately, I don't see a problem with your requests. The data paths and datasets you're using are valid. I tested the h5pyd versions locally just now and they both worked. I haven't used rex before so I don't have an easy env to test that. I wonder if the issue is in your hsds setup for h5pyd? Maybe your configuration for the HSDS server was broken, or the server you're using was down?
PJ the issue is for sure with the API. I have had more success recently but I have been hitting it less. Could you tell me anything about who is hosting or managing the API that I could talk with?
Let me find a point of contact who can help move this along. It's the team that maintains this repo, however I believe that repo is basically unmaintained and/or monitored. I'll get back to you as soon as I find anything out.
@ssolson While we wait for a response to my emails...
I suspect that the public HSDS service is failing intermittently due to load. The public facing HSDS service NREL maintains does not have a lot of power to support concurrent throughput. You will almost certainly find it more reliable to run your own HSDS service and reconfigure h5pyd and/or rex to use dedicated resources. I was poking around that repo and found this suggested addition to the docs that describes how to do this.
PJ This is interesting. I will need to try it out but it could be something I direct people looking to get large amounts of data from the server too if it proves simple enough but is outside the scope of MHKiT generally speaking.
@ssolson I have identified the correct party, however they are out of the office on jury duty which has an indeterminate end date. Hopefully they'll be able to respond soon.
Hello @ssolson, Sorry for this late response. I've just tried the examples you've provided and they are working (following the setup instructions here: https://github.com/NREL/hsds-examples). Are you still having the same issue?
Closing due to inactivity.
Quick Intro
Hello myself, my team, and users of MHKiT have been having issues requesting data from the AWS S3 buckets. I believe this is the correct place to raise this issue if not could you kindly point me to the correct point of contanct?
Recap the Problem
So trying to use h5pyd or REX I am not able to get the API to return a single data point. I have documented this issue this week in two threads (https://github.com/MHKiT-Software/MHKiT-Python/issues/246, https://github.com/MHKiT-Software/MHKiT-Python/pull/241) one for Wave and one for wind.
Demonstrate the problem (MVP)
Using h5pyd and nrel-rex I will replicate the issues above:
Wind using h5pyd
Wave using h5pyd
Wind using rex
Wave using rex
Summary
In tha above calls I use python 3.9, but a user was using python 3.10. I also test this using a number odifferent versions and installations methods using GitHub actions for our CI/CD tests so this seems indpendent of py version or packages to me.
Am I doing something wrong? or is the API at fault?