yyyymmddhh_to_yyyyFrac()

From: Takeshi Enomoto <eno_at_nyahnyahspammersnyahnyah>
Date: Fri, 12 Oct 2007 13:22:46 +0900

Hello,

A function in contributed, yyyymmddhh_to_yyyyFrac()
does not return accurate values for integer and float inputs.

The source of error is in addition year(n) + dsec/ysec,
where a small value (dsec/ysec) is added to a large value (year).

The return value yrFrac in yyyymmddhh2yyyyFrac()
is float when the input is integer or float at the moment.
For accurate results, yrFrac should be double.

Takeshi

-----
Dr Takeshi Enomoto
eno_at_jamstec.go.jp
Earth Simulator Center, JAMSTEC

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Thu Oct 11 2007 - 22:22:46 MDT

This archive was generated by hypermail 2.2.0 : Fri Oct 12 2007 - 14:00:00 MDT