UMD-AOSC / UMD-SST

Testbed sea surface analysis system
Apache License 2.0
1 stars 2 forks source link

Add support for horizontally varying correlation lengths #58

Closed travissluka closed 3 years ago

travissluka commented 3 years ago

This changes our ErrorCovariance class to be a wrapper around BUMP. This way, we can pass it an atlas::Field for the horizontal correlation lengths, instead of using a fixed value for the entire globe. umdsstCovar should be used for staticbinit now. After bump has been initialized umdsstCovar and BUMP will behave the same, so it doesn't matter which one is used for dirac and var. I have left those two using BUMP.

Actually filling in the atlas::Field with a horizontally varying field will be in a different PR, it is using the same 3000km globally that was being used before.

closes #57

a couple other small changes I found along the way