<div dir="ltr"><div>I have attached a modification.</div><div><br></div><div>This does only *one* day.</div><div><br></div><div>YOU will have to modify code to loop over multiple days.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 30, 2020 at 9:51 AM Lyndz via ncl-talk <<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Dear NCL experts,</div><div><br></div><div><b>[1] What I want to do</b></div><div><br></div><div>I have multiple swath TRMM 2A25 data in HDF format and I want to bin them, plot the resulting daily image, then save as a netcdf file.</div><div>The input has the following format:</div><div><br></div><div>2A25.20010101.17823.7.HDF<br></div><div><br></div><div>2A25.<yearmonthday>.<5 digit orbitnumber>.<version>.HDF</div><div><br></div><div><br></div><div><b>[2] Problem</b></div><div>I am encountering the following errors when saving to NetCDF.</div><div><font color="#ff0000"><br></font></div><div>
<p style="margin:0px;font:13px Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">warning:Right hand side has no coordinate variable can not delete coordinate variable of a file, use (/ .. /) to avoid this message</font></span></p><p style="margin:0px;font:13px Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">warning:["Execute.c":8637]:Execute: Error occurred at or near line 217 in file 2A25_daily__hfr_to_netcdf.ncl</font></span></p><p style="margin:0px;font:13px Menlo;background-color:rgb(255,255,255);min-height:15px"><font color="#ff0000"><span style="font-variant-ligatures:no-common-ligatures"></span><br></font></p><p style="margin:0px;font:13px Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">warning:Right hand side has no coordinate variable can not delete coordinate variable of a file, use (/ .. /) to avoid this message</font></span></p><p style="margin:0px;font:13px Menlo;background-color:rgb(255,255,255)"><span style="font-variant-ligatures:no-common-ligatures"><font color="#ff0000">warning:["Execute.c":8637]:Execute: Error occurred at or near line 218 in file </font></span><span style="font-family:Arial,Helvetica,sans-serif;font-size:small"><font color="#ff0000">2A25_daily__hfr_to_netcdf.ncl</font></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo">
</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0);min-height:15px"><span style="font-variant-ligatures:no-common-ligatures"></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><i><br></i></span></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><font face="arial, sans-serif"><span style="font-variant-ligatures:no-common-ligatures">This error occurs near the "time" dimension.</span></font></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)">I would like to ask for help in fixing this problem. The input file has no hh and mn so I set them to 0 in the code. The time and date are causing the problem.</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)">I'll appreciate any help.</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)">---</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;color:rgb(0,0,0)">Lyndz</p><p style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:13px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p></div></div></div></div></div></div></div></div></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></blockquote></div>