ai2cm / fv3net

explore the FV3 data for parameterization
MIT License
16 stars 3 forks source link

Add sample dimension enforcement to autoencoder #2265

Closed frodre closed 1 year ago

frodre commented 1 year ago

The issue #2263 shows the autoencoder fails with 1D input. This PR brings the Autoencoder in line with the SkTransformer handling of 1D and 2D inputs to the encoding by adding a sample dimension to all variables, or failing for unrecognized dimension numbers.

Resolves #2263