<html><body><div style="color:#000; background-color:#fff; font-family:lucida console, sans-serif;font-size:10px"><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style="">this is my scripts for temperature average for layer 3 - 50 meter.</div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style="">but when i try using for current(u;v) this is error.</div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style="">i need help to make scripts average layer value like in temperature script for u;v variables.</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="" dir="ltr"><font color="#cd232c" id="yui_3_16_0_1_1427822577458_10240">#my data description.</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="" dir="ltr"><br></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10177">ga-> sdfopen e:/new/cur/current_northwest_monsoon_ave.nc</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10176">Scanning self-describing file: e:/new/cur/current_northwest_monsoon_ave.nc</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10175">SDF file has no discernable time coordinate -- using default values.</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10174">SDF file e:/new/cur/current_northwest_monsoon_ave.nc is open as file 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10272">LON set to 109.062 126.938</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10271">LAT set to -15.9599 -6.03633</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10330">LEV set to -10000 -10000</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10270">Time values set: 1:1:1:0 1:1:1:0</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">E set to 1 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">ga-> q file</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10331">File 1 :</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10278"> Descriptor: e:/new/cur/current_northwest_monsoon_ave.nc</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10189"> Binary: e:/new/cur/current_northwest_monsoon_ave.nc</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10332"> Type = Gridded</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10190"> Xsize = 144 Ysize = 82 Zsize = 46 Tsize = 1 Esize = 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10333"> Number of Variables = 2</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10191"> u 46 z,y,x UVEL[D=1, GT=MONTH_REG@MOD]</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10192"> v 46 z,y,x VVEL[D=2, G=LONLAT, GT=MONTH_REG@MOD]</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10334">ga-> q dims</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">Default file number is: 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">X is varying Lon = 109.062 to 126.938 X = 1 to 144</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40" id="yui_3_16_0_1_1427822577458_10193">Y is varying Lat = -15.9599 to -6.03633 Y = 1 to 82</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">Z is fixed Lev = -10000 Z = 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">T is fixed Time = 00Z01JAN0001 T = 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">E is fixed Ens = 1 E = 1</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" dir="ltr" style=""><font color="#8fca40">ga-></font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="" dir="ltr"><br></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="" dir="ltr"><font color="#cd232c"># this is my scripts for temperature</font></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="" dir="ltr"><br></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'sdfopen E:/new/temp/temp_trans1_monsoon_ave.nc'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set lat -16 -7'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set lon 109 127'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set t 1'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set gxout line'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set gxout shaded'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set mpdset hires'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set csmooth on'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'d ave(temp_clim,z=36,z=46)'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'cbarn'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'draw title trans1_temp3-50m'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'printim e:/re/monsoon/fig/gambar.trans1_temp50m.gif white'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set x 1 140'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set t 1'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf.gs lat lat.txt %g 1 0'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf lat e:/re/monsoon/txt/trans1_temp50m_lat.txt'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set x 1 140'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set t 1'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf.gs lon lon.txt %g 1 0'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf lon e:/re/monsoon/txt/trans1_temp50m_lon.txt'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set x 1 140'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style=""><br class="" style=""></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'set t 1'</div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf ave(temp_clim,z=36,z=46) ave(temp_clim,z=36,z=46).txt %g, 1 0'</div><div id="yui_3_16_0_1_1427822577458_9693"></div><div id="yui_3_16_0_1_1427822577458_9693" class="" style="">'fprintf ave(temp_clim,z=36,z=46) e:/re/monsoon/txt/trans1_Value50m.txt'</div><div></div><div id="yui_3_16_0_1_1427822577458_9692"> </div><div class="signature" id="yui_3_16_0_1_1427822577458_9688"><div id="yui_3_16_0_1_1427822577458_9691"><span style="color:rgb(0, 0, 127);font-family:'lucida console', sans-serif;"><br></span></div><div id="yui_3_16_0_1_1427822577458_9691"><span style="color:rgb(0, 0, 127);font-family:'lucida console', sans-serif;" id="yui_3_16_0_1_1427822577458_9690">Regards,<br></span></div><div id="yui_3_16_0_1_1427822577458_9689"><span style="font-family:'lucida console', sans-serif;" id="yui_3_16_0_1_1427822577458_9838"><span style="color:rgb(0, 0, 127);" id="yui_3_16_0_1_1427822577458_9837"><span style="font-weight:bold;" id="yui_3_16_0_1_1427822577458_9836">Dian Novianto</span></span><span style="font-size:medium;"><br></span><br><br></span></div><div id="yui_3_16_0_1_1427822577458_9687"><span style="color:rgb(64, 0, 127);"><span style="font-family:arial;"><br></span></span></div><div style="font-family:'Courier New', courier, monaco, monospace, sans-serif;font-size:12pt;"><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt;"><div dir="ltr"></div></div></div></div></div></body></html>