ncdisp and ncinfo not working

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

ncdisp and ncinfo not working

kasperone1
Hello,

I am trying to use the functions ncdisp and ncinfo to view the contents of a
"*.nc" file but keep getting the error message "error: 'xtype' undefined
near line 41 column 57
error: called from
    nc2octtype at line 41 column 3
    ncinfo>ncinfo_var at line 175 column 16
    ncinfo>ncinfo_group at line 233 column 21
    ncinfo>ncinfo_group at line 254 column 7
    ncinfo at line 129 column 8
    ncdisp at line 25 column 6".

Has anyone able to resolve this error and how was it resolved?


Thanks



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html


Reply | Threaded
Open this post in threaded view
|

RE: ncdisp and ncinfo not working

JohnD
> Message: 5
> Date: Fri, 18 Dec 2020 08:11:25 -0600 (CST)
> From: kasperone1 <[hidden email]>
> To: [hidden email]
> Subject: ncdisp and ncinfo not working
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>
> I am trying to use the functions ncdisp and ncinfo to view the contents of a
> "*.nc" file but keep getting the error message "error: 'xtype' undefined
> near line 41 column 57
> error: called from
>     nc2octtype at line 41 column 3
>     ncinfo>ncinfo_var at line 175 column 16
>     ncinfo>ncinfo_group at line 233 column 21
>     ncinfo>ncinfo_group at line 254 column 7
>     ncinfo at line 129 column 8
>     ncdisp at line 25 column 6".
>
> Has anyone able to resolve this error and how was it resolved?
>
>
> Thanks
>

I'm assuming you are using an older version of octave-netcdf - upgrade to 1.0.14 to fix it.



Reply | Threaded
Open this post in threaded view
|

RE: ncdisp and ncinfo not working

JohnD


From: Phemy Kadri [mailto:[hidden email]]
Sent: Friday, December 18, 2020 3:59 PM
To: JohnD
Subject: Re: ncdisp and ncinfo not working

Hello John,

Thanks for your response

I have upgraded to 1.0.14 but I now get the message "error: unknown data type 32
error: called from
    nc2octtype at line 43 column 3
    ncinfo>ncinfo_var at line 175 column 16
    ncinfo>ncinfo_group at line 233 column 21
    ncinfo>ncinfo_group at line 254 column 7
    ncinfo at line 129 column 8
    ncdisp at line 25 column 6"


Best,
Femi

On Fri, Dec 18, 2020 at 3:13 PM JohnD <[hidden email]> wrote:

> Message: 5
> Date: Fri, 18 Dec 2020 08:11:25 -0600 (CST)
> From: kasperone1 <[hidden email]>
> To: [hidden email]
> Subject: ncdisp and ncinfo not working
> Message-ID: <[hidden email]>
> Content-Type: text/plain; charset=us-ascii
>
> Hello,
>
> I am trying to use the functions ncdisp and ncinfo to view the contents of a
> "*.nc" file but keep getting the error message "error: 'xtype' undefined
> near line 41 column 57
> error: called from
>     nc2octtype at line 41 column 3
>     ncinfo>ncinfo_var at line 175 column 16
>     ncinfo>ncinfo_group at line 233 column 21
>     ncinfo>ncinfo_group at line 254 column 7
>     ncinfo at line 129 column 8
>     ncdisp at line 25 column 6".
>
> Has anyone able to resolve this error and how was it resolved?
>
>
> Thanks
>

Please bottom post and reply to octave help .

32 is a user defined type, which I not sure if is supported in octave-netcdf




Reply | Threaded
Open this post in threaded view
|

RE: ncdisp and ncinfo not working

kasperone1
I upgraded to 1.0.14 and the new message is "error: unknown data type 32
error: called from
    nc2octtype at line 43 column 3
    ncinfo>ncinfo_var at line 175 column 16
    ncinfo>ncinfo_group at line 233 column 21
    ncinfo>ncinfo_group at line 254 column 7
    ncinfo at line 129 column 8
    ncdisp at line 25 column 6"



--
Sent from: https://octave.1599824.n4.nabble.com/Octave-General-f1599825.html