Re: How does IDL locate netCDF? [message #63343] |
Wed, 05 November 2008 08:01 |
R.Bauer
Messages: 1424 Registered: November 1998
|
Senior Member |
|
|
Hi David
Does help,/dlm show a netCDF lib ?
It does not help to install the netCDF library separatly. You need the
builtin dlm module.
There was an update related to netCDF if I remember right.
cheers
Reimar
David Green schrieb:
> On Nov 5, 3:38 am, RussellGrew <russell.g...@gmail.com> wrote:
>> FWIW I have used netCDF data from the GIMA magnetometer array and it
>> worked out of the box with Gentoo. I have sci-libs/netcdf installed
>> via portage.
>
> Hey Russ, I too in the past have had the netCDF dlm work out of the
> box. And I did check some other installations here and they all also
> work without issue. I am running Fedora 9 (yes I know), and have
> installed the netCDF libs using both yum and a manual build. However,
> even after a reinstall of IDL I have had no luck in getting the dlm to
> load, or even recognise I have netCDF. Furthermore, I have not been
> able to figure out how IDL knows if your system supports netCDF or
> not. Perhaps FC9 has put netCDF in a non standard place, I'll compare
> the locations of the libs on various other machines and see what
> appears. Oh, my netCDF libs seem to work fine when using them to write
> from Fortran too.
>
> Dav.
>
|
|
|
Re: How does IDL locate netCDF? [message #63345 is a reply to message #63343] |
Wed, 05 November 2008 07:31  |
David Green
Messages: 7 Registered: July 2005
|
Junior Member |
|
|
On Nov 4, 5:40 pm, David Green <david.lindsay.gr...@gmail.com> wrote:
> Hi all, I would like to use IDL to read some netCDF data files.
> However, I cannot seem to get IDL to recognise that I have the netCDF
> libraries installed on my system. If someone could tell me how IDL
> decides if netCDF is supported, or how to get ncdf_exists() to return
> true that would be great since right now it returns false. Is there
> and environment variable I need to set, or does the netCDF lib have to
> be in a particular place, I have been unable to find documentation on
> this issue. I'm running IDL 6.4 on linux (32bit).
>
> Thanks,
> David.
Yes, no need to worry about this any more, turns out the dlm path had
been reset to include some user made dlms and the default idl dlm path
had been left out so it was not searching the appropriate idl/bin/
bin.linux.x86 for the dlm files.
Thanks.
|
|
|
Re: How does IDL locate netCDF? [message #63348 is a reply to message #63345] |
Wed, 05 November 2008 05:34  |
David Green
Messages: 7 Registered: July 2005
|
Junior Member |
|
|
On Nov 5, 3:38 am, RussellGrew <russell.g...@gmail.com> wrote:
>
> FWIW I have used netCDF data from the GIMA magnetometer array and it
> worked out of the box with Gentoo. I have sci-libs/netcdf installed
> via portage.
Hey Russ, I too in the past have had the netCDF dlm work out of the
box. And I did check some other installations here and they all also
work without issue. I am running Fedora 9 (yes I know), and have
installed the netCDF libs using both yum and a manual build. However,
even after a reinstall of IDL I have had no luck in getting the dlm to
load, or even recognise I have netCDF. Furthermore, I have not been
able to figure out how IDL knows if your system supports netCDF or
not. Perhaps FC9 has put netCDF in a non standard place, I'll compare
the locations of the libs on various other machines and see what
appears. Oh, my netCDF libs seem to work fine when using them to write
from Fortran too.
Dav.
|
|
|
Re: How does IDL locate netCDF? [message #63351 is a reply to message #63348] |
Wed, 05 November 2008 00:38  |
russell.grew
Messages: 74 Registered: February 2005
|
Member |
|
|
Oh Hai,
[Imagine seeing you here!]
FWIW I have used netCDF data from the GIMA magnetometer array and it
worked out of the box with Gentoo. I have sci-libs/netcdf installed
via portage.
Using ncdf_open and then ncdf_varget etc worked fine.
Also,
IDL> print, ncdf_exists()
% Compiled module: NCDF_EXISTS.
% Loaded DLM: NCDF.
1
IDL>
Drop me an email [or hack my PC] if you wish to converse further.
Cheers.
Russ.
|
|
|