<div dir="ltr"><div><div><div>Olá Arlindo (...)<br><br></div>Arlindo, meu problema é o seguinte (...) <br><br>Estou tentando fazer umas análises de wavelets no Matlab usando dados netcdf de TSM. O problema é que o Matlab entende todas as informações como matrizes, inclusive os valores de undef e os que representam os contornos dos continentes. <br>
Esses valores de contornos dos continentes, por distoarem muito e por interferir nos calculos de wavelets, não podem estar na minha série de dados. Então, pensei se eu conseguisse tirar os dados referentes aos contornos dos continentes no GrADS e depois exportar apenas os dados das TSM poderia funcionar a matemática das wavelets<br>
<br>Ontem eu consegui nomear todos esses valores de contornos com NaN com uma manobra dentro do próprio Matlab. Porém, mesmo esses NaN ainda estão atrapalhando no momento de fazer os calculos das wavelets (...) Fiz um teste pegando pontos de latitudes e longitudes com apenas os dados de TSM e o Matlab fez bem os calculos das wavelets. <br>
<br></div>Penso que entrando apenas com os dados de TSM o matlab possa fazer as minhas wavelets!<br><br>****************************************************<br></div>For Andrew<br><div><br>I'm trying to do some analysis of wavelets in Matlab using netcdf SST data. The problem is that Matlab understands all information as matrix, including the values undef and the representing the contours of the continents.<br>
These values of contours of continents for changer and interfere in my calculations of wavelets... Like this these can not be in my dataset. <br><br>So I thought if I could get the data to the contours of the continents in GrADS and then export only data from TSM could work the mathematics of wavelets<br>
<br>Yesterday I managed to name all these contours with NaN values with a maneuver within Matlab itself. But even these are still messing NaN when you do the calculations of wavelets (...) I did a test taking points of latitude and longitude with only the SST data and Matlab did well the calculations of wavelets.<br>
<br>I think just coming with SST matlab can make my wavelets!<br><br></div><div>Thanks!!!<br><br></div><div>Carlos<br></div><div><br><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-07-12 2:09 GMT-03:00 Andrew Friedman <span dir="ltr"><<a href="mailto:andfried@berkeley.edu" target="_blank">andfried@berkeley.edu</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I’ve also found that ‘sdfwrite’ is useful for exporting to Matlab, since Matlab can open netcdf files.<br>
<div><div class="h5"><br>
On Jul 11, 2014, at 8:14 PM, Arlindo da Silva <<a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a>> wrote:<br>
<br>
> On Fri, Jul 11, 2014 at 1:11 PM, Carlos Batista <<a href="mailto:krlosbatist@gmail.com">krlosbatist@gmail.com</a>> wrote:<br>
><br>
> Dear Users<br>
><br>
> I need to save the data SST file without contours of continents.<br>
><br>
> I need to open this data in Matlab. The Matlab understands the contours as values and I don't know 'say' for the Matlab that data of contours is not for "him" to read.<br>
><br>
> Does anyone know?<br>
><br>
><br>
> I really do not understand what you are trying to do. Which?<br>
><br>
> 1) You are trying to import in matlab an image that you created in grads, or<br>
><br>
> 2) You would like to open a binary SST file (that grads can read) in matlab for further analysis,<br>
><br>
> Here is a very simple example of how to export ASCII data and import it into Matlab,<br>
><br>
> <a href="http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file" target="_blank">http://cookbooks.opengrads.org/index.php?title=Recipe-002:_Saving_GrADS_variable_data_to_a_text_file</a><br>
><br>
> Here is a more sophisticated way of sharing data between grads and matlab using Java:<br>
><br>
> <a href="http://opengrads.org/wiki/index.php?title=JyGrADS:_Java_and_Matlab_interface_to_GrADS_through_Jython" target="_blank">http://opengrads.org/wiki/index.php?title=JyGrADS:_Java_and_Matlab_interface_to_GrADS_through_Jython</a><br>
><br>
> I never really released jygrads, but a working release can be found here:<br>
><br>
> <a href="http://opengrads.org/devel/jygrads/" target="_blank">http://opengrads.org/devel/jygrads/</a><br>
><br>
> I hope this helps.<br>
><br>
> Arlindo<br>
><br>
> --<br>
> Arlindo da Silva<br>
> <a href="mailto:dasilva@alum.mit.edu">dasilva@alum.mit.edu</a><br>
</div></div>> _______________________________________________<br>
> gradsusr mailing list<br>
> <a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
> <a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
<br>
<br>
_______________________________________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br>
</blockquote></div><br></div>