Open karlmsmith opened 6 years ago
Comment by steven.c.hankin on 7 Apr 2014 15:21 UTC I wonder if we can replace the internal encoding of SAMPLE_CURV with a call to an ESMF routine. It would be nice to have someone else be responsible to get the full details of curvilinear coordinate systems (especially branch cuts) right.
Attachment from @AnsleyManke on 4 Apr 2014 00:09 UTC surface-only curvilienar dataset test_data_surface.nc.zip
Attachment from @AnsleyManke on 4 Apr 2014 00:10 UTC The XY location of scattered points used in the script transec.nc.zip
Attachment from @AnsleyManke on 4 Apr 2014 00:11 UTC The resulting image
Reported by @AnsleyManke on 4 Apr 2014 00:07 UTC Patrick Brockmann reported this. His full example is here:
http://dods.ipsl.jussieu.fr/brocksce/ferret_bugs/err685_sample/
The longitude coordinates have a branch cut, starting at the left wtih positive longitudes, then the cut taking the longitudes to -180 and increasing from there to the right. The sample points have longitudes between -43 and -9. The result has wild swings in the data.
A shortened dataset is attached. Here is a script that shows the behavior, using this smaller dataset that contains only surface data.
Migrated-From: http://dunkel.pmel.noaa.gov/trac/ferret/ticket/2165