NOAA-PMEL / Ferret

The Ferret program from NOAA/PMEL
https://ferret.pmel.noaa.gov/Ferret/
The Unlicense
55 stars 20 forks source link

Fix error message in RECT_TO_CURV #1662

Closed karlmsmith closed 6 years ago

karlmsmith commented 6 years ago

Reported by @AnsleyManke on 22 Mar 2016 18:18 UTC If an incorrect grid is sent into RECT_TO_CURV, the error message is

Bailing out of external function "rect_to_curv":
    The range of source grid longitude may be no larger than tpi
 **ERROR: error in external function

Turns out that tpi is 2pi. Change the error message to say 2pi.

Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2390

karlmsmith commented 6 years ago

Comment by @AnsleyManke on 22 Mar 2016 19:50 UTC One-line fix in fer/efi/rect_to_curv.F