asgs
asgs copied to clipboard
support all `hookScripts` keys directly (don't force configs to use `hookScripts[...]` directly)
Turn this,
hooksScripts[FINISH_SPINUP_SCENARIO]=" output/createOPeNDAPFileList.sh output/$OPENDAPPOST "
hooksScripts[FINISH_NOWCAST_SCENARIO]=" output/createOPeNDAPFileList.sh output/$OPENDAPPOST "
...
into this,
FINISH_SPINUP_SCENARIO=( output/createOPeNDAPFileList.sh output/$OPENDAPPOST )
FINISH_NOWCAST_SCENARIO=( output/createOPeNDAPFileList.sh output/$OPENDAPPOST )
...
Which is how POSTPROCESS=( ... ) is currently handled.
I agree, I like this better. The way it is now is just what I thought of first.
I've been wanting to make this consistent for a while, "raw" access is fine for what we do here. It's a good time to make it consistent, though. I can't really blame this for me forgetting to add it in the latest configs.
Resolved by #1506