<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText">Hi Xiyue,<br>
I wrote a NCL script recently to process the data that Adam points you to. There are a couple of simple&nbsp; system calls with external dependencies that could potentially be removed by using just NCL functions alone, but I found it easier at the time. You will
 need to load in the standard NCL functions at the beginning rather than mine. It produces a daily file spanning the required years specified at the beginning. You will need to edit input/output directories. Good luck,<br>
Mark.<br>
</div>
</span></font></div>
<div class="BodyFragment"><font size="2"><span style="font-size:10pt;">
<div class="PlainText"><br>
&gt; On 12 Dec 2015, at 6:00 AM, ncl-talk-request@ucar.edu wrote:<br>
&gt; <br>
&gt; Send ncl-talk mailing list submissions to<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ncl-talk@ucar.edu<br>
&gt; <br>
&gt; To subscribe or unsubscribe via the World Wide Web, visit<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt; or, via email, send a message with subject or body 'help' to<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ncl-talk-request@ucar.edu<br>
&gt; <br>
&gt; You can reach the person managing the list at<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ncl-talk-owner@ucar.edu<br>
&gt; <br>
&gt; When replying, please edit your Subject line so it is more specific<br>
&gt; than &quot;Re: Contents of ncl-talk digest...&quot;<br>
&gt; <br>
&gt; <br>
&gt; Today's Topics:<br>
&gt; <br>
&gt;&nbsp;&nbsp; 1. modifing &quot;Times&quot; in netcdf file (Mark Chan)<br>
&gt;&nbsp;&nbsp; 2. Re: spliting large files (Mary Haley)<br>
&gt;&nbsp;&nbsp; 3. Superscript in text (Tabish Ansari)<br>
&gt;&nbsp;&nbsp; 4. Re: Superscript in text (jbuzan)<br>
&gt;&nbsp;&nbsp; 5. Re: Superscript in text (Tabish Ansari)<br>
&gt;&nbsp;&nbsp; 6. Re: Reading multiple hdf-eos files in an array (Mary Haley)<br>
&gt;&nbsp;&nbsp; 7. Re: overlay plots (Mary Haley)<br>
&gt;&nbsp;&nbsp; 8. GPCP data set (Xiyue Liao)<br>
&gt;&nbsp;&nbsp; 9. Re: GPCP data set (Adam Phillips)<br>
&gt; <br>
&gt; <br>
&gt; ----------------------------------------------------------------------<br>
&gt; <br>
&gt; Message: 1<br>
&gt; Date: Fri, 11 Dec 2015 11:35:52 &#43;0000 (UTC)<br>
&gt; From: Mark Chan &lt;cym263@yahoo.com&gt;<br>
&gt; Subject: [ncl-talk] modifing &quot;Times&quot; in netcdf file<br>
&gt; To: Talk NCL &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Cc: Mark Chan &lt;cym263@yahoo.com&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;314758331.818950.1449833752947.JavaMail.yahoo@mail.yahoo.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Dear NCL group,<br>
&gt; I am wondering whether there is any easy method with NCL to modify &quot;internal Times&quot; of the netcdf file: (the file name would be changed later)<br>
&gt; <br>
&gt; from: met_em_d01_1987-04-13_12:00:00<br>
&gt; <br>
&gt; To:??? met_em_d01_1987-04-13_18:00:00<br>
&gt; So the time could be shown as (with &quot;ncdump -v Times&quot;)<br>
&gt; ?Times = ? &quot;1978-04-13_18:00:00&quot; ;<br>
&gt; Thanks very much in advance!!!Mark<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/952883e2/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/952883e2/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 2<br>
&gt; Date: Fri, 11 Dec 2015 08:39:00 -0700<br>
&gt; From: Mary Haley &lt;haley@ucar.edu&gt;<br>
&gt; Subject: Re: [ncl-talk] spliting large files<br>
&gt; To: Benjamin Alabi &lt;alabibenjamin2@gmail.com&gt;<br>
&gt; Cc: &quot;ncl-talk@ucar.edu&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CACNN_CKdiTtorVvSS0VJFTHEdDQbTspQpb-=vCbASsRe-iamwA@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Benjamin,<br>
&gt; <br>
&gt; Please write to the NCO help email for information on this. These tools are<br>
&gt; tailored for working on sets of NetCDF files in this fashion.<br>
&gt; <br>
&gt; <a href="http://nco.sourceforge.net/#Support">http://nco.sourceforge.net/#Support</a><br>
&gt; <br>
&gt; --Mary<br>
&gt; <br>
&gt; <br>
&gt; On Tue, Dec 8, 2015 at 5:07 AM, Benjamin Alabi &lt;alabibenjamin2@gmail.com&gt;<br>
&gt; wrote:<br>
&gt; <br>
&gt;&gt; Please sir, How can I split wrfout large files(30GB) into small files<br>
&gt;&gt; using ncl or nco that wrfout_to_cf.ncl would be able to convert to pressure<br>
&gt;&gt; level.<br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/5ed7ad70/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/5ed7ad70/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 3<br>
&gt; Date: Fri, 11 Dec 2015 15:44:15 &#43;0000<br>
&gt; From: Tabish Ansari &lt;tabishumaransari@gmail.com&gt;<br>
&gt; Subject: [ncl-talk] Superscript in text<br>
&gt; To: &quot;ncl-talk@ucar.edu USERS&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CALLVTyvrWfiaTCY2ydkF&#43;fDXZpUEypQukKsd_G2PYctFeh6DvA@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Hi<br>
&gt; <br>
&gt; If I need to write *mol km-2 hr-1* with &quot;-2&quot; and &quot;-1&quot; as superscripts how<br>
&gt; can I achieve that in NCL?<br>
&gt; <br>
&gt; Thanks in advance!<br>
&gt; <br>
&gt; regards,<br>
&gt; <br>
&gt; Tabish<br>
&gt; <br>
&gt; Tabish U Ansari<br>
&gt; PhD student, Lancaster Environment Center<br>
&gt; Lancaster Univeristy<br>
&gt; Bailrigg, Lancaster,<br>
&gt; LA1 4YW, United Kingdom<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/9e8dda74/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/9e8dda74/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 4<br>
&gt; Date: Fri, 11 Dec 2015 10:46:25 -0500<br>
&gt; From: jbuzan &lt;jbuzan@purdue.edu&gt;<br>
&gt; Subject: Re: [ncl-talk] Superscript in text<br>
&gt; To: Tabish Ansari &lt;tabishumaransari@gmail.com&gt;<br>
&gt; Cc: &quot;ncl-talk@ucar.edu USERS&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID: &lt;070FD09C-9DCF-4F6B-B832-9B3930D6B396@purdue.edu&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;us-ascii&quot;<br>
&gt; <br>
&gt; Here is an example:<br>
&gt; <a href="https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl">https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl</a> &lt;<a href="https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl">https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl</a>&gt;<br>
&gt; <br>
&gt; -Jonathan<br>
&gt; <br>
&gt; <br>
&gt;&gt; On Dec 11, 2015, at 10:44 AM, Tabish Ansari &lt;tabishumaransari@gmail.com &lt;<a href="mailto:tabishumaransari@gmail.com">mailto:tabishumaransari@gmail.com</a>&gt;&gt; wrote:<br>
&gt;&gt; <br>
&gt;&gt; Hi<br>
&gt;&gt; <br>
&gt;&gt; If I need to write mol km-2 hr-1 with &quot;-2&quot; and &quot;-1&quot; as superscripts how can I achieve that in NCL?<br>
&gt;&gt; <br>
&gt;&gt; Thanks in advance!<br>
&gt;&gt; <br>
&gt;&gt; regards,<br>
&gt;&gt; <br>
&gt;&gt; Tabish<br>
&gt;&gt; <br>
&gt;&gt; Tabish U Ansari<br>
&gt;&gt; PhD student, Lancaster Environment Center<br>
&gt;&gt; Lancaster Univeristy<br>
&gt;&gt; Bailrigg, Lancaster, <br>
&gt;&gt; LA1 4YW, United Kingdom<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu &lt;<a href="mailto:ncl-talk@ucar.edu">mailto:ncl-talk@ucar.edu</a>&gt;<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/ce11cbf8/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/ce11cbf8/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 5<br>
&gt; Date: Fri, 11 Dec 2015 15:55:54 &#43;0000<br>
&gt; From: Tabish Ansari &lt;tabishumaransari@gmail.com&gt;<br>
&gt; Subject: Re: [ncl-talk] Superscript in text<br>
&gt; To: jbuzan &lt;jbuzan@purdue.edu&gt;<br>
&gt; Cc: &quot;ncl-talk@ucar.edu USERS&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CALLVTysiT0YOFM=xyc8fViQM9ywzyOvzjL&#43;rR9DLKyQoTwLUWQ@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Thanks a lot- it works!<br>
&gt; <br>
&gt; Tabish<br>
&gt; <br>
&gt; Tabish U Ansari<br>
&gt; PhD student, Lancaster Environment Center<br>
&gt; Lancaster Univeristy<br>
&gt; Bailrigg, Lancaster,<br>
&gt; LA1 4YW, United Kingdom<br>
&gt; <br>
&gt; On 11 December 2015 at 15:46, jbuzan &lt;jbuzan@purdue.edu&gt; wrote:<br>
&gt; <br>
&gt;&gt; Here is an example:<br>
&gt;&gt; <a href="https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl">https://www.ncl.ucar.edu/Applications/Scripts/text_7.ncl</a><br>
&gt;&gt; <br>
&gt;&gt; -Jonathan<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; On Dec 11, 2015, at 10:44 AM, Tabish Ansari &lt;tabishumaransari@gmail.com&gt;<br>
&gt;&gt; wrote:<br>
&gt;&gt; <br>
&gt;&gt; Hi<br>
&gt;&gt; <br>
&gt;&gt; If I need to write *mol km-2 hr-1* with &quot;-2&quot; and &quot;-1&quot; as superscripts how<br>
&gt;&gt; can I achieve that in NCL?<br>
&gt;&gt; <br>
&gt;&gt; Thanks in advance!<br>
&gt;&gt; <br>
&gt;&gt; regards,<br>
&gt;&gt; <br>
&gt;&gt; Tabish<br>
&gt;&gt; <br>
&gt;&gt; Tabish U Ansari<br>
&gt;&gt; PhD student, Lancaster Environment Center<br>
&gt;&gt; Lancaster Univeristy<br>
&gt;&gt; Bailrigg, Lancaster,<br>
&gt;&gt; LA1 4YW, United Kingdom<br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/bd26acad/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/bd26acad/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 6<br>
&gt; Date: Fri, 11 Dec 2015 09:13:57 -0700<br>
&gt; From: Mary Haley &lt;haley@ucar.edu&gt;<br>
&gt; Subject: Re: [ncl-talk] Reading multiple hdf-eos files in an array<br>
&gt; To: Abdulla Sakalli &lt;as@abdulla-sakalli.com&gt;<br>
&gt; Cc: &quot;ncl-talk@ucar.edu&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CACNN_CJnRNKfDv=utSFz&#43;T=YCbbXSKMzOgVXet-0ewN&#43;e-SHSw@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; There are a number of issues with your script.<br>
&gt; <br>
&gt; [1]<br>
&gt; <br>
&gt; By default, when you pull a variable off a set of files opened with<br>
&gt; &quot;addfiles&quot;, they are &quot;concatenated&quot; (this is known as &quot;cat&quot; mode in NCL)<br>
&gt; across the leftmost dimension.<br>
&gt; <br>
&gt; If you ?use the &quot;join&quot; mode, then a new leftmost dimension will be created<br>
&gt; that will be the same size as the number of files (in your case, 20).<br>
&gt; <br>
&gt; To get &quot;join&quot; mode, uncomment your ListSetType option above and change it<br>
&gt; to:<br>
&gt; <br>
&gt;&nbsp; ListSetType (f, &quot;join&quot;) ;join files<br>
&gt; <br>
&gt; [2]<br>
&gt; <br>
&gt; To get a 4 x 5 configuration rather than a 20 configuration, you can use<br>
&gt; reshape to change the dimensions:<br>
&gt; <br>
&gt;&nbsp; npp_dims = filevardimsizes(f[0],&quot;Npp_1km_MOD_Grid_MOD17A3&quot;)<br>
&gt;&nbsp; npp&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = reshape(short2flt(f[:]-&gt;Npp_1km_<br>
&gt; MOD_Grid_MOD17A3),(/4,5,npp_dims(0),npp_dims(1)/))<br>
&gt; <br>
&gt; <br>
&gt; Please see the documentation for &quot;addfiles&quot; for more information:<br>
&gt; <br>
&gt; <a href="http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml">http://www.ncl.ucar.edu/Document/Functions/Built-in/addfiles.shtml</a><br>
&gt; <br>
&gt; [3]<br>
&gt; <br>
&gt; An issue with using reshape is that you may lose attribute and coordinate<br>
&gt; information, if any. You can use copy_VarAtts and copy_VarCoords to copy<br>
&gt; over any information you need.<br>
&gt; <br>
&gt; See:<br>
&gt; <br>
&gt; <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/copy_VarAtts.shtml">
http://www.ncl.ucar.edu/Document/Functions/Contributed/copy_VarAtts.shtml</a><br>
&gt; <a href="http://www.ncl.ucar.edu/Document/Functions/Contributed/copy_VarCoords.shtml">
http://www.ncl.ucar.edu/Document/Functions/Contributed/copy_VarCoords.shtml</a><br>
&gt; <br>
&gt; [4]<br>
&gt; <br>
&gt; You are reading two-dimensional latitude and longitude arrays off the file,<br>
&gt; and then trying to treat them as coordinate arrays with:<br>
&gt; <br>
&gt; npp!0=&quot;lat2d&quot;<br>
&gt; npp!1=&quot;lon2d&quot;<br>
&gt; npp&amp;lat2d=lat2d<br>
&gt; npp&amp;lon2d=lon2d<br>
&gt; <br>
&gt; <br>
&gt; By strict definition, coordinate arrays can only be one-dimensional, and of<br>
&gt; the same size as whatever dimension they are associated with.&nbsp; Since your<br>
&gt; lat/lon arrays are 2D, you cannot assign them as coordinate arrays.<br>
&gt; <br>
&gt; You can, however, write them separately to the file just like your &quot;npp&quot;<br>
&gt; variable, and then create a &quot;coordinates&quot; attribute (that I see you have<br>
&gt; already) that indicates what the name of the lat/lon arrays are on the new<br>
&gt; file:<br>
&gt; <br>
&gt; npp@coordinates=&quot;lon2d lat2d&quot;<br>
&gt; <br>
&gt; <br>
&gt; Note that the &quot;coordinates&quot; attribute generally doesn't have a comma in it.<br>
&gt; Also, if your &quot;npp&quot; variable is 4D, and the other two dimensions have<br>
&gt; variables associated with them, you'll want to include these in the<br>
&gt; &quot;coordinates&quot; setting.&nbsp; For example, if you had a 3D array, and the<br>
&gt; leftmost dimension was represented by a variable on the file called &quot;time&quot;,<br>
&gt; then you would use:<br>
&gt; <br>
&gt; npp@coordinates = &quot;lon2d lat2d time&quot;<br>
&gt; <br>
&gt; For some reason, the coordinates are usually listed right-to-left, although<br>
&gt; I don't think this is required.<br>
&gt; <br>
&gt; [5]<br>
&gt; <br>
&gt; You should use the same dimension names for your &quot;npp&quot; variable that you<br>
&gt; have for the lat2d/lon2d variables:<br>
&gt; <br>
&gt; npp!2 = &quot;nlat&quot;<br>
&gt; npp!3 = &quot;nlon&quot;<br>
&gt; <br>
&gt; Note that I changed these to dimensions 2 and 3, because dimensions 0 and 1<br>
&gt; are associated with the &quot;4 x 5&quot; part of your array. You will need to name<br>
&gt; these accordingly.<br>
&gt; <br>
&gt; <br>
&gt; --Mary<br>
&gt; <br>
&gt; <br>
&gt; On Wed, Dec 9, 2015 at 5:13 AM, Abdulla Sakalli &lt;as@abdulla-sakalli.com&gt;<br>
&gt; wrote:<br>
&gt; <br>
&gt;&gt; Dear List,<br>
&gt;&gt; <br>
&gt;&gt; I downloaded 20 files from MODIS satellite for NPP (MOD17A3). I?d like to<br>
&gt;&gt; read the hdf files and merge it in 4x5 to get the NPP value for<br>
&gt;&gt; pan-European domain. I've been written the fallowing script for my aim.<br>
&gt;&gt; Unfortunately, I get the files merged in 1x20 (i.e. merged along latitude<br>
&gt;&gt; and not lonxlat direction).<br>
&gt;&gt; Can please anyone help me to read the npp from the 20 files and enlarge it<br>
&gt;&gt; in LonxLat direction.<br>
&gt;&gt; <br>
&gt;&gt; Thank you very much in advance<br>
&gt;&gt; Abu<br>
&gt;&gt; <br>
&gt;&gt; Script:<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; load &quot;$NCARG_ROOT/share/ncarg/nclscripts/csm/gsn_code.ncl&quot;<br>
&gt;&gt; load &quot;$NCARG_ROOT/share/ncarg/nclscripts/csm/gsn_csm.ncl&quot;<br>
&gt;&gt; load &quot;$NCARG_ROOT/share/ncarg/nclscripts/csm/contributed.ncl&quot;<br>
&gt;&gt; load &quot;$NCARG_ROOT/share/ncarg/nclscripts/csm/shea_util.ncl&quot;<br>
&gt;&gt; <br>
&gt;&gt; begin<br>
&gt;&gt; <br>
&gt;&gt; ; 1km annual npp MOD17A3 on 1200x1200 tiles<br>
&gt;&gt; <br>
&gt;&gt; files = systemfunc(&quot;ls *.hdfeos&quot;)<br>
&gt;&gt; <br>
&gt;&gt; f = addfiles(files,&quot;r&quot;)<br>
&gt;&gt; ;print(f)<br>
&gt;&gt; ;ListSetType (f, &quot;cat&quot;) ;concatenate files<br>
&gt;&gt; <br>
&gt;&gt; lat2d=f[:]-&gt;GridLat_MOD_Grid_MOD17A3<br>
&gt;&gt; lon2d=f[:]-&gt;GridLon_MOD_Grid_MOD17A3<br>
&gt;&gt; <br>
&gt;&gt; npp=short2flt(f[:]-&gt;Npp_1km_MOD_Grid_MOD17A3)<br>
&gt;&gt; <br>
&gt;&gt; lat2d!0=&quot;nlat&quot;<br>
&gt;&gt; lat2d!1=&quot;nlon&quot;<br>
&gt;&gt; lon2d!0=&quot;nlat&quot;<br>
&gt;&gt; lon2d!1=&quot;nlon&quot;<br>
&gt;&gt; <br>
&gt;&gt; ;printVarSummary(lon2d)<br>
&gt;&gt; <br>
&gt;&gt; npp!0=&quot;lat2d&quot;<br>
&gt;&gt; npp!1=&quot;lon2d&quot;<br>
&gt;&gt; npp&amp;lat2d=lat2d<br>
&gt;&gt; npp&amp;lon2d=lon2d<br>
&gt;&gt; npp@coordinates=&quot;lat2d,lon2d&quot;<br>
&gt;&gt; npp@projection=&quot;sinusoidal&quot;<br>
&gt;&gt; <br>
&gt;&gt; printVarSummary(npp)<br>
&gt;&gt; <br>
&gt;&gt; system(&quot;rm test.nc&quot;)<br>
&gt;&gt; out=addfile(&quot;test.nc&quot;,&quot;c&quot;)<br>
&gt;&gt; out-&gt;npp=npp<br>
&gt;&gt; out-&gt;lat2d=lat2d<br>
&gt;&gt; out-&gt;lon2d=lon2d<br>
&gt;&gt; <br>
&gt;&gt; end<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; *print summary is Variable: npp Type: short Total Size: 57600000 bytes<br>
&gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 28800000 values Number of Dimensions: 2 Dimensions and<br>
&gt;&gt; sizes:&nbsp;&nbsp;&nbsp; [YDim_MOD_Grid_MOD17A3 | 24000] x [XDim_MOD_Grid_MOD17A3 | 1200]<br>
&gt;&gt; Coordinates: Number Of Attributes: 6&nbsp;&nbsp; lon2d :&nbsp;&nbsp;&nbsp; &lt;ARRAY of 28800000<br>
&gt;&gt; elements&gt;&nbsp;&nbsp; lat2d :&nbsp;&nbsp;&nbsp; &lt;ARRAY of 28800000 elements&gt;&nbsp;&nbsp; coordinates :<br>
&gt;&gt; lat2d,lon2d&nbsp;&nbsp; hdfeos_name :&nbsp;&nbsp;&nbsp; Npp_1km&nbsp;&nbsp; projection :&nbsp;&nbsp;&nbsp; sinusoidal<br>
&gt;&gt; unsigned :&nbsp;&nbsp;&nbsp; True *<br>
&gt;&gt; <br>
&gt;&gt; ---------------------------------------------------------------------------<br>
&gt;&gt; Asst. Prof. Abdulla Sakalli<br>
&gt;&gt; <br>
&gt;&gt; Iskenderun Technical University<br>
&gt;&gt; Faculty of Marine Sciences &amp; Technology<br>
&gt;&gt; Dept. Water Resources Management and Organization<br>
&gt;&gt; Meydan Mah. 512 Sk<br>
&gt;&gt; Iskenderun-Hatay-Turkey<br>
&gt;&gt; as@abdulla-sakalli.com &lt;<a href="http://www.abdulla-sakalli.com">http://www.abdulla-sakalli.com</a>&gt;<br>
&gt;&gt; asakalli@istek.edu.tr &lt;asakalli@mku.edu.tr&gt;<br>
&gt;&gt; &#43;90 326 614 1693 (330)<br>
&gt;&gt; &#43;90 536 506 9191<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/a769f5f1/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/a769f5f1/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 7<br>
&gt; Date: Fri, 11 Dec 2015 09:24:00 -0700<br>
&gt; From: Mary Haley &lt;haley@ucar.edu&gt;<br>
&gt; Subject: Re: [ncl-talk] overlay plots<br>
&gt; To: Geeta Geeta &lt;geetag54@yahoo.com&gt;<br>
&gt; Cc: &quot;ncl-talk \[ncl-talk\]&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CACNN_C&#43;X95stBzOTEd2f&#43;ydseb8m6AAp=MQTJ4Rp4QUDMXYs5g@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Geeta,<br>
&gt; <br>
&gt; Your PS file was blank, and you didn't provide enough information for us to<br>
&gt; help.<br>
&gt; <br>
&gt; Do you want to create 10 different frames, each with its own plot, or do<br>
&gt; you want to create a panel of 10 plots, or do you want to overlay 10 plots<br>
&gt; on top of one map?<br>
&gt; <br>
&gt; You also didn't indicate which variables are the ones that you have 10<br>
&gt; different dates for. Are these variables on different files? The same file?<br>
&gt; <br>
&gt; --Mary<br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; <br>
&gt; On Wed, Dec 9, 2015 at 10:05 AM, Geeta Geeta &lt;geetag54@yahoo.com&gt; wrote:<br>
&gt; <br>
&gt;&gt; hi all.<br>
&gt;&gt; i have been able to overlay 300hPa gpm height on to the wind vectors at<br>
&gt;&gt; 850hPa.<br>
&gt;&gt; i want to know if i have to do this for 10 plots (different dates) how i<br>
&gt;&gt; should do???<br>
&gt;&gt; attatched my script n figure<br>
&gt;&gt; <br>
&gt;&gt; pls suggest<br>
&gt;&gt; <br>
&gt;&gt; Geeta.<br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/a3f4fa8f/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/a3f4fa8f/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 8<br>
&gt; Date: Fri, 11 Dec 2015 10:53:19 -0700<br>
&gt; From: Xiyue Liao &lt;liaoxiyue2011@gmail.com&gt;<br>
&gt; Subject: [ncl-talk] GPCP data set<br>
&gt; To: ncl-talk@ucar.edu<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CAC7dBHSd_0Dgm2hWZfKvt5=2vDYJ7rVMyP5ayvROueKA&#43;1UVrA@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Hi Mary,<br>
&gt; <br>
&gt; I'm looking at the examples of the Global Precipitation Climatology Project<br>
&gt; (GPCP) at <a href="https://www.ncl.ucar.edu/Applications/gpcp.shtml">https://www.ncl.ucar.edu/Applications/gpcp.shtml</a>. Is it possible<br>
&gt; that I can get the data set GPCP_1DD.199610-200908.nc which is used in the<br>
&gt; third example gpcp_3.ncl?<br>
&gt; <br>
&gt; Thanks a lot!!<br>
&gt; <br>
&gt; Xiyue<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/026f55d4/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/026f55d4/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; Message: 9<br>
&gt; Date: Fri, 11 Dec 2015 11:52:16 -0700<br>
&gt; From: Adam Phillips &lt;asphilli@ucar.edu&gt;<br>
&gt; Subject: Re: [ncl-talk] GPCP data set<br>
&gt; To: Xiyue Liao &lt;liaoxiyue2011@gmail.com&gt;<br>
&gt; Cc: &quot;ncl-talk@ucar.edu&quot; &lt;ncl-talk@ucar.edu&gt;<br>
&gt; Message-ID:<br>
&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CACvWuqBjOAE2s5kOBLBWWo7atXdVRPPE1727CasFoE1qEU5i7A@mail.gmail.com&gt;<br>
&gt; Content-Type: text/plain; charset=&quot;utf-8&quot;<br>
&gt; <br>
&gt; Hi Xiyue,<br>
&gt; I do not believe we still have that .nc file. You can download the daily<br>
&gt; binary files directly from NASA here:<br>
&gt; <a href="http://precip.gsfc.nasa.gov/">http://precip.gsfc.nasa.gov/</a><br>
&gt; the specific daily files are located here:<br>
&gt; <a href="ftp://rsd.gsfc.nasa.gov/pub/1dd-v1.2/">ftp://rsd.gsfc.nasa.gov/pub/1dd-v1.2/</a><br>
&gt; <br>
&gt; Then, looking at the NCL GPCP examples page at the top there is a ncl<br>
&gt; script that converts the binary data to a netCDF file:<br>
&gt; <a href="https://www.ncl.ucar.edu/Applications/Scripts/gpcp_1DD.bin2nc.ncl">https://www.ncl.ucar.edu/Applications/Scripts/gpcp_1DD.bin2nc.ncl</a><br>
&gt; <br>
&gt; Note that you may have to update that script as the binary data is now<br>
&gt; version 1.2.<br>
&gt; <br>
&gt; Hope that helps!<br>
&gt; Adam<br>
&gt; <br>
&gt; On Fri, Dec 11, 2015 at 10:53 AM, Xiyue Liao &lt;liaoxiyue2011@gmail.com&gt;<br>
&gt; wrote:<br>
&gt; <br>
&gt;&gt; Hi Mary,<br>
&gt;&gt; <br>
&gt;&gt; I'm looking at the examples of the Global Precipitation Climatology<br>
&gt;&gt; Project (GPCP) at <a href="https://www.ncl.ucar.edu/Applications/gpcp.shtml">https://www.ncl.ucar.edu/Applications/gpcp.shtml</a>. Is it<br>
&gt;&gt; possible that I can get the data set GPCP_1DD.199610-200908.nc which is<br>
&gt;&gt; used in the third example gpcp_3.ncl?<br>
&gt;&gt; <br>
&gt;&gt; Thanks a lot!!<br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; ncl-talk@ucar.edu<br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt;&gt; <br>
&gt;&gt; <br>
&gt; <br>
&gt; <br>
&gt; -- <br>
&gt; Adam Phillips<br>
&gt; Associate Scientist,&nbsp; Climate and Global Dynamics Laboratory, NCAR<br>
&gt; <a href="http://www.cgd.ucar.edu/staff/asphilli/">www.cgd.ucar.edu/staff/asphilli/</a>&nbsp;&nbsp; 303-497-1726<br>
&gt; <br>
&gt; &lt;<a href="http://www.cgd.ucar.edu/staff/asphilli">http://www.cgd.ucar.edu/staff/asphilli</a>&gt;<br>
&gt; -------------- next part --------------<br>
&gt; An HTML attachment was scrubbed...<br>
&gt; URL: <a href="http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/7ee4230f/attachment-0001.html">
http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151211/7ee4230f/attachment-0001.html</a>
<br>
&gt; <br>
&gt; ------------------------------<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; ncl-talk mailing list<br>
&gt; ncl-talk@ucar.edu<br>
&gt; List instructions, subscriber options, unsubscribe:<br>
&gt; <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
&gt; <br>
&gt; <br>
&gt; End of ncl-talk Digest, Vol 145, Issue 14<br>
&gt; *****************************************<br>
<br>
</div>
</span></font></div>
</body>
</html>