[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #47014] netcdf: not writing NaNs
From: |
Muhali |
Subject: |
[Octave-bug-tracker] [bug #47014] netcdf: not writing NaNs |
Date: |
Fri, 29 Jan 2016 17:07:54 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:43.0) Gecko/20100101 Firefox/43.0 |
URL:
<http://savannah.gnu.org/bugs/?47014>
Summary: netcdf: not writing NaNs
Project: GNU Octave
Submitted by: muhali
Submitted on: Fri 29 Jan 2016 09:07:53 AM PST
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Incorrect Result
Status: None
Assigned to: None
Originator Name:
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: dev
Operating System: GNU/Linux
_______________________________________________________
Details:
With the attached netcdf file foo.nc, running the following code
pkg load netcdf
x = ncread('foo.nc', 'tp');
x(10,1,29)
x(10,1,29) = nan ;
ncwrite('foo.nc', 'tp', x);
x = ncread('foo.nc', 'tp');
x(10,1,29)
in octave produces
ans = NaN
ans = -1.8128e-05
whereas ML, correctly, produces the following (without the pkg line):
ans = NaN
ans = NaN
This may be related to bug #42353 <https://savannah.gnu.org/bugs/?42353>.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Fri 29 Jan 2016 09:07:53 AM PST Name: foo.nc Size: 14kB By: muhali
<http://savannah.gnu.org/bugs/download.php?file_id=36199>
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?47014>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Octave-bug-tracker] [bug #47014] netcdf: not writing NaNs,
Muhali <=