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

Home » Public Forums » archive » Re: 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
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37925] Mon, 09 February 2004 13:10 Go to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <c08ns1$r9j$1@newsreader.mailgate.org>,
Mark Hadfield <m.hadfield@niwa.co.nz> wrote:

>> Not sure whether I need to transfer my bug to a Samba-related newsgroup
>> (if ever such a group exists).
>
> I suggest you do: samba@lists.samba.org

Good idea. Do you see the problem when not using IDL? For example, do
the ncdumps look the same under Samba and NFS?

Ken
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37929 is a reply to message #37925] Mon, 09 February 2004 11:42 Go to previous messageGo to next message
Mark Hadfield is currently offline  Mark Hadfield
Messages: 783
Registered: May 1995
Senior Member
blanke wrote:
> NFS mounting suppressed my problem. Thanks for the hint.
>
> Note: I used the information given in document
> http://www.fxguide.com/modules.php?name=fxtips&rop=showc ontent&id=120
>
> Not sure whether I need to transfer my bug to a Samba-related newsgroup
> (if ever such a group exists).

I suggest you do: samba@lists.samba.org

--
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 #37937 is a reply to message #37929] Mon, 09 February 2004 02:14 Go to previous messageGo to next message
blanke is currently offline  blanke
Messages: 3
Registered: February 2004
Junior Member
Kenneth P. Bowman wrote:
>
> While I can shoot down David's idea, I have no idea what the problem is
> (having no experience with Samba).
>
> Since the data is on a Sun, why not use NFS to your Mac?
>


Fantastic !

NFS mounting suppressed my problem. Thanks for the hint.

Note: I used the information given in document
http://www.fxguide.com/modules.php?name=fxtips&rop=showc ontent&id=120

Not sure whether I need to transfer my bug to a Samba-related newsgroup
(if ever such a group exists).

Thanks again,

Bruno
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37940 is a reply to message #37937] Sun, 08 February 2004 17:57 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.1a8f41492c6bb99e9897de@news.frii.com>,
David Fanning <david@dfanning.com> wrote:

> P.S. I guess I *could* have read the question, but
> I was just back from playing tennis in 21F temperature.
> Of course, it *was* sunny, and we used sea-level balls.
> But that was fanatic, even for me. I think the brain was
> ... uh, frozen. :-)

I just spent the entire weekend at the ZAT with my daughter (and driving
back and forth). She lost in the finals of the consolation round, but
it was the best she has ever done. She played 85 games today (8 sets),
but I think I'm more tired. In case you couldn't tell, this is for
tennis junkies only. ;-)

Ken
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37943 is a reply to message #37940] Sat, 07 February 2004 17:39 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Kenneth P. Bowman writes:

> While I can shoot down David's idea,

Like shooting fish in a barrel! :-)

Cheers,

David

P.S. I guess I *could* have read the question, but
I was just back from playing tennis in 21F temperature.
Of course, it *was* sunny, and we used sea-level balls.
But that was fanatic, even for me. I think the brain was
... uh, frozen. :-)

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37944 is a reply to message #37943] Sat, 07 February 2004 15:51 Go to previous messageGo to next message
Kenneth P. Bowman is currently offline  Kenneth P. Bowman
Messages: 585
Registered: May 2000
Senior Member
In article <MPG.1a8ec3f24dc721029897dd@news.frii.com>,
David Fanning <david@dfanning.com> wrote:

> Setting one or the other "SWAP_ENDIAN" keywords on your
> OPENR command will fix you right up. :-)

This is a netCDF file, which should make endianess transparent through
the use of XDR. There are no "swap" keywords for the NCDF_OPEN function.

While I can shoot down David's idea, I have no idea what the problem is
(having no experience with Samba).

Since the data is on a Sun, why not use NFS to your Mac?

Ken
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #37945 is a reply to message #37944] Sat, 07 February 2004 08:44 Go to previous messageGo to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
blanke writes:

> 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.

This is almost certainly a byte-order problem. Here is
some information for you:

http://www.dfanning.com/tips/endian_machines.html

Setting one or the other "SWAP_ENDIAN" keywords on your
OPENR command will fix you right up. :-)

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Problem with IDL 6.0, smb://, PowerMac G4, OS 10.2.8 [message #38002 is a reply to message #37925] Wed, 11 February 2004 05:28 Go to previous message
blanke is currently offline  blanke
Messages: 3
Registered: February 2004
Junior Member
Kenneth P. Bowman wrote:

> Do you see the problem when not using IDL? For example, do
> the ncdumps look the same under Samba and NFS?
>
> Ken


Good point.

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
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Doing Nothing Takes Longer Than Doing... Nothing?
Next Topic: connectivity array

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

Current Time: Wed Oct 08 15:58:00 PDT 2025

Total time taken to generate the page: 0.00760 seconds