<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body text="#000000" bgcolor="#FFFFFF">
hi Brian,<br>
<br>
do lats4d -h to get a list of options... see -func command line
option<br>
<br>
you can do multiple functions in an expression, e.g.,
ta=ave(sum(precip,lon=0,lon=360),time=0z1sep2013,time=0z2sep2013)<br>
<br>
the simplest approach would to do multiple calls of lats4d for each
expression to separate .nc...<br>
<br>
CC4N<br>
<br>
Mike<br>
<br>
<br>
<div class="moz-cite-prefix">On 2014-02-04 18:23, Brian Atkinson
wrote:<br>
</div>
<blockquote class=" cite"
id="mid_CAODUvBx5a_dJn4qdp8SKyy_ZP9E_q2VhPN_LCtOVWK2tosBZEw_mail_gmail_com"
cite="mid:CAODUvBx5a=dJn4qdp8SKyy=ZP9E_q2VhPN-LCtOVWK2tosBZEw@mail.gmail.com"
type="cite">
<div dir="ltr">Hello all!
<div><br>
</div>
<div>New grads user here with minimal scripting experience. I've
downloaded a small subset of NARR 3-hour data in grib/ctl
format, and would like to average this to daily summaries in
NetCDF format. Below is the file information. </div>
<div><br>
</div>
<div>
<div>ga-> q file</div>
<div>File 1 : narr-a_221_20131001_0300_000.grb</div>
<div> Descriptor: narr.ctl</div>
<div> Binary: narr-a_221_%y4%m2%d2_%h200_000.grb</div>
<div> Type = Gridded</div>
<div> Xsize = 87 Ysize = 84 Zsize = 1 Tsize = 241 Esize =
1</div>
<div> Number of Variables = 2</div>
<div> apcpsfc 0 61 ** surface Total precipitation
[kg/m^2]</div>
<div> tmpsfc 0 11 ** surface Temp. [K]</div>
<div><br>
</div>
<div>Is it possible to use lats4d to use multiple functions
across time? I would like to grab the <u>sum</u> of
precipitation and the <u>average</u> of temperature over
each day, and output those parameters to a netcdf.</div>
<div><br>
</div>
<div>Thanks for any info!</div>
<div><br>
</div>
-- <br>
<div
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font
color="#333333">Graduate Student</font></div>
<div
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font
color="#333333">University of Alaska Fairbanks</font></div>
<div
style="color:rgb(136,136,136);font-family:arial,sans-serif;font-size:13px;background-color:rgb(255,255,255)"><font
color="#333333">Department of Natural Resources Management</font></div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gradsusr mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a>
<a class="moz-txt-link-freetext" href="http://gradsusr.org/mailman/listinfo/gradsusr">http://gradsusr.org/mailman/listinfo/gradsusr</a>
</pre>
</blockquote>
<br>
<br>
</body>
</html>