[Thread Prev][Thread Next][Index]

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


Thanks for the suggestion. Unfortunately it doesn't change the behavior.

Since I first email, I have tried the script on another Linux system that has different versions of ferret installed. I find that the script does not hang when I run with

        FERRET v6.1
        Linux(g77) 2.6.9-22. - 03/26/08

On this other system, the script does hang with

        FERRET v6.6
        Linux(gfortran) 2.6.9-89.0.20.ELsmp - 04/06/10

So while I have a workaround for now it is worrisome that the hang is occurring with the more recent versions of ferret.

The build that works appears to be built with g77 while the more recent builds are with gfortran. That may be a red herring.

With the configuration that works (v6.1 g77), I am getting a NOTE message about some global character metadata whose length exceeds the 2048 maximum character. I don't know if this is causing fatal problems for the more recent versions. This may be a red herring.


On Wed, 16 Mar 2011, William S. Kessler wrote:

Try removing the quotes from "cdf" in the statement:

list/clobber/file="testfile"/format=cdf sfco2_int, sfco2_int_ocn, sfco2_int_lnd

or simply:

save/file=testfile.cdf/clobber sfco2_int, sfco2_int_ocn, sfco2_int_lnd


On 16 Mar 2011, at 8:22 AM, Keith Lindsay wrote:


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

William S. Kessler
NOAA / Pacific Marine Environmental Laboratory
7600 Sand Point Way NE
Seattle WA 98115 USA

Tel: 206-526-6221
Fax: 206-526-6744
Web: http://www.pmel.noaa.gov/people/kessler

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