NOAA-GFDL / NDSL

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

Fix typo in print statement (FORWARD example) #62

Closed romanc closed 1 month ago

romanc commented 1 month ago

Description

The sample code for showcasing FORWARD computation (in the K axis) calls mult_upward with origin=(nhalo,nhalo,1). The print statement differs in the z-value and shows origin=(nhalo,nhalo,0). This can be confusing for developers which just skim the output and don't read the code that is actually executed. The subsequent white-space change is only for consistency.

How Has This Been Tested?

I ran this notebook locally.

Checklist:

FlorianDeconinck commented 1 month ago

CI has lint via pre-commit indeed