Re: write_matrix output nothing but zeros

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Thu Mar 25 2010 - 08:08:48 MDT

Wang,

Can you provide me with the input ASCII file(s) and your full script
so I can run it here? I haven't heard of any problems with
write_matrix as described here.

Please see:

http://www.ncl.ucar.edu/report_bug.shtml

for information about where to ftp the files.

Thanks,

--Mary

On Mar 24, 2010, at 9:52 PM, Wang Wenshan wrote:

> Dear editors,
>
>
>
> I am using write_matrix to output some of the info. about missing
> data to a ascii file but the file shows nothing but zero zero zero.
>
> I checked the variable written into the ascii file. It is OK. The
> results are right when I “print” it . what’s more, when I use
> asciiwrite to output only one column, the result is right also.
>
> I used this function (write_matrix) before. It works well. And I
> compared the two commands files but didn’t find any difference.
>
> So what else could this be?
>
> Here is part of my script. And I am using Version 5.1.1 on cygwin.
>
>
>
> ;=====================================================================
> ============================================
>
> txt_miss_temp(:,0)=site_1d
>
> txt_miss_temp(:,1)=yea_1d
>
> txt_miss_temp(:,2)=OHM_1d
>
> txt_miss_temp(:,3)=ndtooned(miss_temp)
>
>
>
> ;print("site= "+txt_miss_temp(:,0)+" yea=
> "+txt_miss_temp(:,1)+" OHM= "+txt_miss_temp(:,2)+" num=
> "+txt_miss_temp(:,3))
>
>
>
> ; write into a txt file
>
> opt=True
>
> opt@fout="txt_miss_temp.txt"
>
> write_matrix(txt_miss_temp, "4f10.2", opt)
>
>
>
> ;filo="miss_test.txt"
>
> ;asciiwrite(filo, txt_miss_temp(:,3))
>
> ;=====================================================================
> ============================================
>
>
>
> Thank you for your time.
>
>
>
> Best,
>
> Wang Wenshan
>
>
>
> __________ Information from ESET Smart Security, version of virus
> signature database 4972 (20100324) __________
>
> The message was checked by ESET Smart Security.
>
> http://www.eset.com
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Mar 25 08:10:01 2010

This archive was generated by hypermail 2.1.8 : Sat Mar 27 2010 - 07:18:15 MDT