StormSurgeLive / asgs

The Automated Solution Generation System (ASGS) provides software infrastructure for automating coastal ocean modelling for real time decision support, and provides a variety of standalone command line tools for pre- and post-processing. Visit us at https://discord.gg/jFbacxrUf9
https://tools.adcirc.live
GNU General Public License v3.0
39 stars 22 forks source link

make OPENDAPBASEDIR configurable to facilitate hindcast posting #711

Closed jasonfleming closed 1 year ago

jasonfleming commented 2 years ago

When posting certain types of runs, like hindcasts of historical storms, we may need to post to a different OPENDAPBASEDIR, for example, in /data/hindcast/hindcasts rather than /data/opendap.

jasonfleming commented 2 years ago

@wwlwpd let's discuss. I am pinning this as a stand-in for the overall project of refactoring/replacing opendap_post.sh and all its associated issues. Before hurricane season, I want to get the count of issues with the opendap tag reduced to zero.

jasonfleming commented 1 year ago

@wwlwpd is this resolved with the OPENDAPADDROOT parameter?

wwlwpd commented 1 year ago

OPENDAPADDROOT prepends in front of OPENDAPBASEDIR; so as think it does in principle do what we need. I actually like from a security standpoint (or operator ease) that OPENDAPBASEDIR can't be adjusted outside what is set in the remote server's main definition (e.g., platforms.sh or its ssh-servers/ directory).

I vote to close this.

jasonfleming commented 1 year ago

If additional tweaks are needed, we can open them as separate issues. Let's call it square.