Compress and SaveForecast with R2D2v3 - #790
Conversation
…ive) for obtaining restarts
…t run on compute node
|
The last step I need to do is to add a toy model resolution compressed background for |
|
Tested For If anyone wants to try Heads up though, it's registered |
We don't have an active scrubber currently though, correct? Thanks for testing. I'm running tier1 tests, if it passes I'm going to need approvals please. Trying to get this and his remaining PRs in before @ftgoktas leaves. |
|
This is good to go in. |
Yes, correct, no scrubber as of right now. |
New R2D2v3 approach to store and get forecast/background files.
I had to create
geos_marinespecific tasks as the requirements between marine model interface and the others are quite different. As I eluded to it on multiple occasions, varying DA window lengths and marine history file sizes made it a bit challenging to store files individually. In this PR, all state files are compressed under a single archive first and then gets stored afterwards. Because of R2D2's API calls, compression and store had to be separated into two different tasks. Hence, this PR introduces two major steps:pigzfor parallel gunzip compression using compute nodes. Otherwise doing this on login node was quite inefficient and wasting other people's login source. This usescompress.pyutility from @ftgoktas's PR: Compress and ingest background files via R2D2 #853For milan nodes, using 8 threads proved to be most efficient so that is hardcoded. pigz compression level varies between 1-9, I picked 6 but that can be modified in the future. It takes ~80 seconds to compress 20GB worth netcdf files to ~9.7GB
PT00, which is relative to the background (middle of the window for 3D case, beginning of the window for the FGAT case).I also had to add a
geos_marinespecificget_backgroundtask that decompresses these files.SaveAnalysis task will be a lot more straightforward for geos_marine as it is a single file for 3DVar or FGAT. Might not be the case for 4D analyses fields.
ALERT 🚨