[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: function still missing after installing and loading the package
From: |
Tatsuro MATSUOKA |
Subject: |
Re: function still missing after installing and loading the package |
Date: |
Wed, 12 Jul 2017 17:16:24 +0900 (JST) |
> Hi all,
> trying to create a netcdf file but apparently the netcdf function is
> missing.
> However, the corresponding package is installed and correctly loaded.
>
>>> file =
> netcdf.create("t2m_cru_multimodel_winterEU_10pc.nc",clobber);
> warning: the 'netcdf' function is not yet implemented in Octave
>
> Please read `http://www.octave.org/missing.html' to learn how you can
> contribute missing functionality.
> error: 'netcdf' undefined near line 1 column 8
>
>>> pkg list
> Package Name | Version | Installation directory
> --------------+---------+-----------------------
> financial *| 0.5.0 | ~/octave/financial-0.5.0
> general *| 2.0.0 | ~/octave/general-2.0.0
> geometry *| 2.1.1 | ~/octave/geometry-2.1.1
> io *| 2.4.7 | ~/octave/io-2.4.7
> mapping *| 1.2.1 | ~/octave/mapping-1.2.1
> nan. *| 3.1.2 | ~/octave/nan-3.1.2
> netcdf *| 1.0.11 | ~/octave/netcdf-1.0.11
> statistics *| 1.3.0 | ~/octave/statistics-1.3.0
> windows *| 1.2.4 | ~/octave/windows-1.2.4
>
> Any help would be very much appreciated.
>
Unlike MATLAB, netcdf.create does not work but netcdf_create does work!
See https://octave.sourceforge.io/netcdf/overview.html
Tested on octave-4.2.1 on windows
>> ncid = netcdf.create('foo.nc','NOCLOBBER')
warning: the 'netcdf' function is not yet implemented in Octave
>> ncid = netcdf_create('foo.nc','NOCLOBBER')
ncid = 65536
Tatsuro