m2lines / convection-parameterization-in-CAM

Deployment of the convection parameterization scheme (previously from within SAM) deployed into the CAM model
MIT License
3 stars 2 forks source link

Identify/isolate the PyTorch version of the model #19

Closed dorchard closed 1 year ago

dorchard commented 1 year ago

In order to test the Fortran implementation of the NN, it would be great to have the original Python inference code so that we can compare the two for input-output equality. Mentioned in https://github.com/m2lines/convection-parameterization-in-CAM/issues/1

The PyTorch models are in this file. Unfortunately, there are a number of duplicated models with/without extra layers and batchnorms, etc. Some actions: