[Thread Prev][Thread Next][Index]

Re: [ferret_users] Reading ascii file



Re,

Replace
def axis/t/units=years tyears=v1[i=1]
by
def axis/t=01-JUL-`v1[i=1,l=1]`:01-JUL-`v1[i=1,l=($nblines)]`:1/units=years/cal=360_day tyears
for a correct time definition axis.

Patrick

--
Data Analytics and Visualization Engineer / Project Manager
LSCE/IPSL, CEA-CNRS-UVSQ laboratory
LSCE - Climate and Environment Sciences Laboratory
IPSL - Institut Pierre Simon Laplace
--


De: "Patrick Brockmann" <patrick.brockmann@xxxxxxxxxxxx>
À: "ferret users" <ferret_users@xxxxxxxx>
Cc: "Pierre Friedlingstein" <P.Friedlingstein@xxxxxxxxxxxx>
Envoyé: Mardi 19 Janvier 2021 16:53:19
Objet: Re: [ferret_users] Reading ascii file

Hi Pierre,

Here is a solution.
Haven't found simpler.

!####################################################################################################


When I do this I get the following, which is obviously not right.

yes? show data
     currently SET data sets:
    1> ./nbp.txt  (default)
 name     title                             I         J         K         L
 NBP      nbp                              1:18      ...       ...       1:60

 14   / 14:  0.2359
 15   / 15:  0.1868
 16   / 16:  0.2416
 17   / 17:  0.2037
 18   / 18: -0.0313



Thanks for you help.
Pierre

readAscii.jnl
Description: Binary data


[Thread Prev][Thread Next][Index]