Hi all, I'm trying to manipulate spatial subsets created with NCO-ncks command on the global Pathfinder SST files provided by JPL. The idea is to keep the original packed format. However, despite creating the output, ferret is issuing the message "Segmentation fault" when it quits and the packed output is not equal to the original data. I'm attaching the test data I created to try to understand what was going on. Any hints on how to handle the variable attributes are welcomed. Thanks. $ ls -l test_att* -rw-rw-r-- 1 pbo pbo 455076 2010-01-06 17:03 test_att_in.cdf -rw-rw-r-- 1 pbo pbo 252 2010-01-06 16:14 test_att.jnl ---------------- output from test_att.jnl $ ferret NOAA/PMEL TMAP FERRET v6.401 Linux(g77) 2.4.21-57.ELsmp - 12/09/09 6-Jan-10 17:13 yes? go test_att ! NOAA/PMEL TMAP ! FERRET v6.401 ! Linux(g77) 2.4.21-57.ELsmp - 12/09/09 ! 6-Jan-10 14:43 use test_att_in.cdf save/file=test_att_float.cdf/clob sst LISTing to file test_att_float.cdf set att/output=all sst set var/outtype=input sst save/file=test_att_short.cdf/clob sst LISTing to file test_att_short.cdf Segmentation fault ---------------------------------------------------- $ ls -l test_att* -rw-rw-r-- 1 pbo pbo 602976 2010-01-06 17:13 test_att_float.cdf -rw-rw-r-- 1 pbo pbo 455076 2010-01-06 17:03 test_att_in.cdf -rw-rw-r-- 1 pbo pbo 252 2010-01-06 16:14 test_att.jnl -rw-rw-r-- 1 pbo pbo 311476 2010-01-06 17:13 test_att_short.cdf -------------------------- Comparison between input and *short* $ ferret NOAA/PMEL TMAP FERRET v6.401 Linux(g77) 2.4.21-57.ELsmp - 12/09/09 6-Jan-10 17:15 yes? use test_att_in.cdf yes? use test_att_short.cdf yes? shade sst[d=1]-sst[d=2] *** NOTE: Ambiguous coordinates on X axis: SST[D=1]-SST[D=2] yes? set mode meta yes? shade sst[d=1]-sst[d=2] yes? canc mode meta yes? sp gksm2ps -p portrait -o tmp.ps metafile.plt yes? sp convert tmp.ps test_att_dif.jpg
! NOAA/PMEL TMAP ! FERRET v6.401 ! Linux(g77) 2.4.21-57.ELsmp - 12/09/09 ! 6-Jan-10 14:43 use test_att_in.cdf save/file=test_att_float.cdf/clob sst set att/output=all sst set var/outtype=input sst save/file=test_att_short.cdf/clob sst
Attachment:
test_att_float.cdf
Description: Cdf file
Attachment:
test_att_in.cdf
Description: Cdf file
Attachment:
test_att_short.cdf
Description: Cdf file
Attachment:
test_att_dif.jpg
Description: JPEG image