Re: Problems with write_matrix format statement

From: Rick Brownrigg <brownrig_at_nyahnyahspammersnyahnyah>
Date: Tue Aug 20 2013 - 13:55:19 MDT

The asterisks of course result when you try to print a value that is too large to fit in the given field (in your case, values >= 1,000,000). Are you expecting values that large, or are there missing values that are of huge magnitude?

On Aug 20, 2013, at 12:59 PM, Soumik Basu <sbasu@iarc.uaf.edu> wrote:

> Hi,
>
> Can anybody please help me to fix this write matrix format error. I am writing out the temperature pf 850hPa and 500hPa from a CMIP5 model output. In the 850hPa the file has lots of stars (which I assume is due to the format error) but when I write out the temperature from 500hPa in the same format it is giving me correct ascii files. So I am confused why same format statement is working for one and not working for other as both are temperatures and in the same order.Here is the format statements I am using:
>
> opt1 = True
> opt1@fout = "temp_850_djf"
> fmtx = "288f10.3"
>
> write_matrix(temp_djf_mean(0,:,:),fmtx,opt1)
>
> opt2 = True
> opt2@fout = "temp_500_djf"
> fmtx = "288f10.3"
>
> write_matrix(temp_djf_mean(1,:,:),fmtx,opt2)
>
> I am attaching the text files for the two levels also.
>
> Thanks,
> Soumik
>
> --
> "Numbing the pain for a while will make it worse when you finally feel it.
> ~J.K. Rowling"
> *****************************************
> Soumik Basu
> Graduate Student, Research Assistant
> International Arctic Research Center
> University of Alaska Fairbanks
> Fairbanks,Alaska,USA
> *****************************************<temp_500.txt><temp_850.txt>_______________________________________________
> 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 Tue Aug 20 13:55:28 2013

This archive was generated by hypermail 2.1.8 : Wed Aug 21 2013 - 13:54:15 MDT