comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37946] Sat, 07 February 2004 07:45 Go to next message
blanke is currently offline  blanke
Messages: 3
Registered: February 2004
Junior Member
I am having trouble reading some data on a very simple (and
small) netCDF file, on a volume (Sun disk) mounted with
Samba protocol, using IDL 6.0 on a PowerMac G4 running
Mac OS 10.2.8.

If my test file is physically on my Mac, no problem.

If the same test file is read on a volume mounted with
Samba (smb://...), problem (see below).

However, a UNIX 'cmp' command (run in a Terminal window)
does not flag any difference between both files !!!

cmp /Volumes/home2/blanke/angle.nc /Users/g4/Documents/angle.nc
smb-mounted file local file


Could anyone try to reproduce my problem, help me understand
its origins, and possibly propose some worarounds ?

1. Check the outcome of the following IDL instructions for
a "local" version of the test file.

2. idem, but when the file is present on an external volume
mounted with Samba.

cid=ncdf_open('angle.nc')
vid=ncdf_varid(cid,'angle')
ncdf_varget,cid,vid,angle
print,min(angle),max(angle)

Correct result should be:
3.3040068 3.8353316

My bugged result (for the file mounted with Samba) is:
-1.2062433e+270 1.4828745e+241

address for the test file (size= 17,196 ko) is:
http://www.ifremer.fr/lpo/blanke/angle.nc




Any help will be highly appreciated.

Bruno
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37982 is a reply to message #37946] Wed, 11 February 2004 14:01 Go to previous message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
blanke wrote:
>
> Problem does NOT appear with ncdump (part of netcdf library version
> 3.5.1-beta13, installed with fink).
>
> But problem DOES appear with ncks (part of nco package, version 2.7.4-2):
> - ncks applied on a local file works well;
> - ncks applied on the same file, but samba-mounted, gives erroneous
> results.
>
> Bruno

Something to do with moving the file pointer around in the file, as
opposed to sequential access?


--
Mark Hadfield "Ka puwaha te tai nei, Hoea tatou"
m.hadfield@niwa.co.nz
National Institute for Water and Atmospheric Research (NIWA)
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37988 is a reply to message #37946] Wed, 11 February 2004 10:16 Go to previous message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <c0damf$8t8$1@melon.univ-brest.fr>,
blanke <blanke@univ-brest.fr> wrote:

> Problem does NOT appear with ncdump (part of netcdf library version
> 3.5.1-beta13, installed with fink).
>
> But problem DOES appear with ncks (part of nco package, version 2.7.4-2):
> - ncks applied on a local file works well;
> - ncks applied on the same file, but samba-mounted, gives erroneous results.
>
> Bruno

So, it sounds like a Samba problem, not an IDL problem. You could try
ncks on an NFS-mounted file to confirm.

Ken
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: GE PET DICOM format
Next Topic: Re: GE PET DICOM format

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 16:02:14 PDT 2025

Total time taken to generate the page: 0.00514 seconds