Re: OPeNDAP does not work on enabled NCL 6.1.0 precompiled binary for Mac OS 10.6

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Wed Nov 14 2012 - 10:26:00 MST

Hi Sean,

Maybe this is an issue with trying to open a GRIB file, because I just downloaded the 10.6 binary:

ncl_ncarg-6.1.0.MacOS_10.6_i386_64bit_gcc460.tar.gz

and was able to run this small script on it:

  filename = "http://test.opendap.org/opendap/data/nc/3fnoc.nc"
  if(.not.isfilepresent(filename)) then
    print("OPeNDAP isfilepresent test unsuccessful.")
    print("Either file doesn't exist, or NCL does not have OPeNDAP capabilities on this system")
    exit
  end if

  print("OPeNDAP isfilepresent test successful.")
  print("You will get some warnings here about the 'MissingToFillValue option set True...'")
  print("")
  f = addfile(filename,"r")
  print("variables = " + getfilevarnames(f))

However, I do have the same issue when it comes to trying to open your GRIB2 file, and I am able to open it using NCL V6.0.0

I have created a ticket for this, NCL-1577.

Meanwhile, regarding the "i386_64bit" file name: I know it's confusing, but the "i386" in this case is what that Mac reports, but the NCL binary was built with the 64-bit option set for the compiler, so it is still 64-bit.

--Mary

On Nov 14, 2012, at 10:03 AM, Sean Birkel wrote:

> Dear NCL-Talk,
>
> Problem 1:
>
> The "OPeNDAP-enabled" precompiled binary for Mac OS 10.6
> (ncl_ncarg-6.1.0.MacOS_10.6_i386_64bit_gcc460.tar) does not appear to
> have OPeNDAP functionality. See the following example:
>
> **** code begin ****
> infile="http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cmd_flxf/1979/197907/19790724/flxf00.gdas.1979072418.grb2"
> f=addfile(infile,"r")
> **** code end ****
>
> **** error message ****
> fatal:_NclFileCreate: Requested file does not exist as
> (http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cmd_flxf/1979/197907/19790724/flxf00.gdas.1979072418.grb2)
> or as (http://nomads.ncdc.noaa.gov/thredds/dodsC/modeldata/cmd_flxf/1979/197907/19790724/flxf00.gdas.1979072418),
> can't add file
> **** error message ****
>
> The file in the above example does indeed exist, as it opens fine with
> my existing NCL 6.0.0 installation and with ncdump. I have verified
> that the shell environment is setup correctly. Moreover, I have
> conducted identical tests on two machines, a Mac Pro and a Mac Book
> Pro, both running OS 10.6.8.
>
> Problem 2:
>
> The filename ncl_ncarg-6.1.0.MacOS_10.6_i386_64bit_gcc460.tar
> indicates that the program was compiled for i386 64-bit. I am a
> little puzzled, because i386 implies 32-bit. Is this a typo? The
> precompiled binary for version 6.0.0 has an i686 tag in the filename,
> as I would expect.
>
> Bugs?
>
> Thank you,
> Sean
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Nov 14 10:26:09 2012

This archive was generated by hypermail 2.1.8 : Wed Nov 21 2012 - 11:16:05 MST