NOAA-GFDL / NDSL

NOAA NASA Domain Specific Language middleware layer
6 stars 8 forks source link

[Refactor] Centralize Translate Test architecture #45

Closed FlorianDeconinck closed 3 months ago

FlorianDeconinck commented 3 months ago

Description The Translate Test needs a lot of love. The first step is to make sure no code lives outside of ndsl that should be back to the mothership. This pulls pyFV3 and pySHiELD code that should not be there.

⚠️ pyFV3 and pySHiELD will break and need to be adapted. Namely there conftest needs to import ndsl.conftest⚠️

Other change to allow for an easier "from scratch" experience for testing are:

How Has This Been Tested? This comes around as we are building 101 notebooks. In the series, we are showing how to port Fortran code and are making a translate test from scratch, which prompted and tested those changes.

Checklist: