[Thread Prev][Thread Next][Index]

Re: [ferret_users] unexplained hang during list/format=cdf



Hi Keith,

Try
    yes? SET MODE DIAGNOSTIC

before issuing the "list" command.  The output tells you each activity that Ferret is about to do.  From that you can tell us what Ferret is doing when the hang occurs.

Example below.  "reading", "doing", and "LISTing" are the key actions -- the other parts are Ferret internal machinery, doing things like determining the result grid for the calculation.

    - Steve
yes? use coads_climatology
yes? set mode diag
yes? save/file=test.nc/clobber sst[x=@din,y=@din]
 getgrid EX#1     C:  5 I:    1    1  J:    1    1  K:    1    1  L:    1    1
 allocate dynamic grid GSQ1            COADSX    COADSY    NORMAL    TIME
 eval    EX#1     C:  4 I:    1  180  J:    1   90  K: -999 -999  L:    1   12
 strip --> SST[Y=90S:90N@IN4,D=1]
 reading SST      M:  1 I:    1  180  J:    1   90  K: -999 -999  L:    1   12
 doing --> SST[Y=90S:90N@IN4,D=1]
 LISTing to file test.nc

=================

On 3/16/2011 8:22 AM, Keith Lindsay wrote:
Hi,

I'm experiencing a hang in ferret when I attempt to save a variable to a NetCDF file. The commands I am using are

let/units="PgC/y"/title="CO2 Flux, Net"   sfco2_int     = (60*60*24*365)*(12/44)*1e-12*sfco2[x=@din,y=@din]
let/units="PgC/y"/title="CO2 Flux, Ocean" sfco2_int_ocn = (60*60*24*365)*(12/44)*1e-12*sfco2_ocn[x=@din,y=@din]
let/units="PgC/y"/title="CO2 Flux, Land"  sfco2_int_lnd = (60*60*24*365)*(12/44)*1e-12*sfco2_lnd[x=@din,y=@din]
list/clobber/file="testfile"/format="cdf" sfco2_int, sfco2_int_ocn, sfco2_int_lnd

If I change format to "comma" or "tab", the file is created and looks fine. But with format="cdf", ferret appears to hang.

ferret reports its version as
        FERRET v6.64
        Linux(gfortran) 2.6.9-89.0.20.ELsmp - 09/16/10

This is on a linux system where "uname -a" reports
Linux mirage2 2.6.18-194.17.4.el5 #1 SMP Wed Oct 20 13:03:08 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux

Any idea what's going on?

Have others experienced this sort of behavior?

Thanks, Keith

******************************************************************
Keith Lindsay                http://www.cgd.ucar.edu/oce/klindsay/
email: klindsay@xxxxxxxx   phone: 303-497-1722   fax: 303-497-1700

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement