<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-6986699086603144448</id><updated>2025-05-15T05:52:18.351-03:00</updated><category term="linux"/><category term="Grads"/><category term="Script"/><category term="Tutoriais"/><category term="Software"/><category term="Programa"/><category term="Grafico"/><category term="comandos"/><category term="Ubuntu"/><category term="Biblioteca"/><category term="ciência"/><category term="noticia"/><category term="El nino"/><category term="Fortran"/><category term="Compilador"/><category term="Ensino"/><category term="Ifort"/><category term="dados"/><category term="cdo"/><category term="Ferret"/><category term="Latex"/><category term="icc"/><category term="MJO"/><category term="Modelo"/><category term="NCAR"/><category term="google"/><title type='text'>Cristiano Prestrelo</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>83</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-8009493193231564270</id><published>2016-12-01T14:47:00.000-02:00</published><updated>2016-12-01T14:47:26.045-02:00</updated><title type='text'>Criando Ensemble mean dos dados do CMIP5</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;h3 class=&quot;post-title entry-title&quot; itemprop=&quot;name&quot; style=&quot;background-color: white; font-family: &amp;quot;Droid Serif&amp;quot;, Arial; font-size: 25.74px; line-height: 1.4em; margin: 0px; padding: 0px 0px 5px; text-align: left;&quot;&gt;
&lt;/h3&gt;
&lt;div class=&quot;post-body entry-content&quot; id=&quot;post-body-8009493193231564270&quot; itemprop=&quot;description articleBody&quot; style=&quot;font-family: arial, serif; line-height: 1.6em; margin: 0px 0px 0.75em; text-align: left;&quot;&gt;
&lt;div style=&quot;font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;T&lt;/span&gt;rabalhar com dados do CMIP5 pode ser um pouco confuso pois nem sempre eles apresentam estruturas iguais. No meu caso eu tenho um conjunto de arquivos de três modelos (CanESM2, CSIRO e HadGEM2) do CMIP5 e estes dados estão dispostos em arquivos de 5-10 anos, ou seja, uma série de 100 anos temos 10-20 arquivos.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;P&lt;/span&gt;ara juntar todos os arquivos em um só eu utilizei o NCO (Netcdf Operator) através do comando ncrcat. O script abaixo irá juntar todos os arquivos, de cada modelo, em apenas um arquivo.&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;#!/bin/bash&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;#########################################################&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;# O nome dos meu arquivos tem a seguinte estrutura:&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;# tos_Omon_CanESM2_esmHistorical_r1i1p1_199001-200012.nc&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;# $var &amp;nbsp; &amp;nbsp; $modelos $xpt&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;#########################################################&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;dir_inp&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;/dados/data/ESM-PP/SST/Historical/&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Diretório&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&#39;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;tos_Omon&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&#39;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt; ) &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Variável&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;modelos&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;CanESM2&#39; &#39;CSIRO&#39; &#39;HadGEM2&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Pasta/Modelos&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;color: #45818e; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;xpt&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #cc0000; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;(&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&#39;esmHistorical_r1i1p1&#39;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, fixed, monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b style=&quot;font-family: &amp;quot;courier new&amp;quot;, fixed, monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Ensemble&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 14.3px; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# loop para contar o número de arquivos referente a cada modelo&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 14.3px; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;for&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;mdl&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;in&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${modelos&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;[@]&lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;};&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;do&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 14.3px; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# &amp;nbsp; numero de arquivos neste ensemble member&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;num_arq&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}${var}_${mdl}_${xpt}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*.nc &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| wc&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -w &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;$mdl&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 14.3px; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# &amp;nbsp; se houver apenas um arquivo continue para o próximo loop&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;if&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; [ &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${num_arq}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -le 1 ]; &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;then&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;Há apenas um arquivo em&quot;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;continue&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;b&gt;&amp;nbsp; &amp;nbsp; fi&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;Existem&quot;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${num_arq}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;arquivos no&quot;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Data inicial de cada arquivo (o nome do primeiro arquivo inclui a data inicial)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;yyyymm_in&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}${var}_${mdl}_${xpt}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*.nc &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| sed&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -n &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;1p&#39;&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -d &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;_&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -f 6 &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -d &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;-&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -f 1 &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Data final de cada arquivo ( o nome do último arquivo inclui a data final)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;yyyymm_fi&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}${var}_${mdl}_${xpt}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*.nc &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| sed&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -n &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${fl_nbr}p&lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -d &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;_&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -f 6 &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -d &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;-&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -f 2 &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;$yyyymm_in, $yyyymm_fi&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;## Juntando todos os arquivs em apenas um só arquivo&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;ncrcat -O &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}${var}_${mdl}_${xpt}&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;*.nc &lt;/span&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;${dir_inp}${var}_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;done&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; color: #666666; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;courier new&amp;quot; , &amp;quot;fixed&amp;quot; , monospace; font-size: 1em; line-height: 17px; text-align: left;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;exit&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-size: medium;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;ste script calculou em primeiro lugar os pesos para cada célula da grade do modelo, antes de usar os pesos para realizar a interpolação cúbica da grade nativa para a nova grade regular. Eu segui as mesmas etapas para todos os meus arquivos e reuniu os comandos em um script que irá varrer todos os arquivos no diretório definido.&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: inherit; font-size: 14.3px;&quot;&gt;Os arquivos do CMIP5 estão em formato de Netcdf porém, o espaçamento de grade destes arquivos são diferentes. Portanto, para calcular uma grade retangular genérica para todos os dados para poder comparar os arquivos e executar operações com matrizes a solução foi utilizar o cdo para gerar esta grade retangular, com latitudes de -90 a 90 e longitude de 0 a 360.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-family: inherit; font-size: 14.3px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;ara isto execute estes comandos:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font-size: 14.3px;&quot;&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: 14.3px;&quot;&gt;
&lt;code style=&quot;background-color: #eeeeee; background-image: url(&amp;quot;https://blogger.googleusercontent.com/img/proxy/AVvXsEjkWkybA2uY45qiUtPF0zytiVp12u2V3LUPFq697SVcoxCBIqvk_t1nIPFvfuc8mQVtTCP2rYO0ofj8hRnKEqJ-tIbappx-D0Vhl1EnADVs0X5ezI2ql1zXzliF1kEFO-ugO4pbmQombnQ=s0-d&amp;quot;); background-position: 0px 0px; background-repeat: no-repeat; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 1px solid rgb(153, 204, 102); display: block; font-family: &amp;quot;courier new&amp;quot;, fixed, monospace; font-size: 1em; font-stretch: normal; line-height: 17px; margin: 1em 0px; overflow: auto; padding: 0px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;#/bin/sh&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;modelos&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;(&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: magenta;&quot;&gt;&#39;CanESM2&#39; &#39;CSIRO&#39; &#39;HadGEM2&#39;&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt; &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;# Pastas para cada modelo&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;dir_inp&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;(&lt;/span&gt;&lt;/b&gt; &lt;span style=&quot;color: magenta;&quot;&gt;&#39;/dados/data/ESM-PP/SST/Historical/$modelos/&#39;&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;num_arq&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;${dir_inp}&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*.nc &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| wc&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -w &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot; Foram encontrados &quot;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; num_arq &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot; no diretório &quot;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;modelos&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; *.nc &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;for&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;model&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;in&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;${models&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;[@]&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;}; do&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;echo&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&quot;Degradando o modelo: &quot;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;$model&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;nome&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;( ls&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;$model&lt;/span&gt; &lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;| cut&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -d &lt;/span&gt;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;.&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt; -f 1 &lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;)&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;cdo genbil,r360x180 &lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;${dir_inp}${var}_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi} ${dir_inp}${var}_wgts_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi}&lt;/span&gt;&lt;br /&gt;&lt;span style=&quot;color: #666666;&quot;&gt;cdo remap,r360x180,&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;${dir_inp}${var}_wgts_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi} ${dir_inp}${var}_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi} ${dir_inp}${var}_regular_${xpt}_${mdl}_${yyyymm_in}-${yyyymm_fi}&lt;/span&gt;&lt;br /&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;done&lt;/span&gt;&lt;/b&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;m seguida, era preciso calcular as médias anuais de TSM em todos os arquivos, pois isso torna um pouco mais fácil de usar comandos do CDO depois. Por isso, foi feito um loop sobre todos os arquivos (nova grade) calculando a média anual. Uma vez que todas as grades nativas são diferentes, e alguns modelos têm valores fill_value ou mascaras isso pode gerar um problema quando você for calcular o ensemble mean. Para não ter problema o programa faz o loop apenas sobre os valores presente em cada ponto de grade e executa a média. Por isso, é necessário definir o intervalo de valores aceitáveis no arquivo que é, do ponto de congelamento da água da superfície do mar até um valor ridiculamente alto. O comando &#39;setvrange&#39; do cdo cuida disso para nós antes de calcular as médias anuais.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-size: 14.3px;&quot;&gt;
&lt;code style=&quot;background-image: url(&amp;quot;https://blogger.googleusercontent.com/img/proxy/AVvXsEjkWkybA2uY45qiUtPF0zytiVp12u2V3LUPFq697SVcoxCBIqvk_t1nIPFvfuc8mQVtTCP2rYO0ofj8hRnKEqJ-tIbappx-D0Vhl1EnADVs0X5ezI2ql1zXzliF1kEFO-ugO4pbmQombnQ=s0-d&amp;quot;); background-position: 0px 0px; background-repeat: no-repeat; border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 1px solid rgb(153, 204, 102); display: block; font-family: &amp;quot;courier new&amp;quot;, fixed, monospace; font-size: 1em; font-stretch: normal; line-height: 17px; margin: 1em 0px; overflow: auto; padding: 0px;&quot;&gt;&lt;span style=&quot;background-color: #eeeeee; font-family: inherit; line-height: 18.2px; white-space: nowrap;&quot;&gt;&lt;span class=&quot;co0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: blue; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;#/bin/sh&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;re2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;modelNumbers&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span class=&quot;br0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ls&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.nc&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span class=&quot;sy0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;wc&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-w&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: magenta; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Encontrados &quot;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;${modelNumbers}&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;rm&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-f&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;YRLYAVG&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;/&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666;&quot;&gt;*&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.nc&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;re2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;modelos&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span class=&quot;br0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ls&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;*&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.nc&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;)&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;for&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3d85c6; font-size: 13px; line-height: 18.2px;&quot;&gt;model&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;in&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;${modelos&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span style=&quot;color: #666666;&quot;&gt;[@]&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;}&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;do&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;echo&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;st0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: magenta; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&quot;Calculando media anual: &quot;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;re2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;=$&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span class=&quot;br0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;(&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;ls&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;b&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span class=&quot;sy0&quot; style=&quot;border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;|&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;cut&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-d&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;st_h&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: magenta; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&#39;.&#39;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re5&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;-f&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #0080a0; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;br0&quot; style=&quot;border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;)&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;cdo -setvrange,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #0080a0; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;271.45&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #0080a0; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;320&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.tmp&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;cdo yearmean -selyear,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #0080a0; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;1950&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #0080a0; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;2005&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;-selvar,tos&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.tmp&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;${name}&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;_yrly&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;.nc&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;rm&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;re1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;$model&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.tmp&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;cdo sinfo&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;${name}&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;_yrly&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;.nc&lt;/span&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw2&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;mv&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;co1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #3d85c6; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;${name}&lt;/span&gt;&lt;span style=&quot;font-size: 13px; line-height: 18.2px;&quot;&gt;&lt;span style=&quot;color: #3d85c6;&quot;&gt;_yrly&lt;/span&gt;&lt;span style=&quot;color: #666666;&quot;&gt;.nc YRLYAVG&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;sy0&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #666666; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;.&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw1&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;done&lt;/b&gt;&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;br style=&quot;box-sizing: inherit; font-size: 13px; font-stretch: normal; line-height: 18.2px;&quot; /&gt;&lt;span class=&quot;kw3&quot; style=&quot;border-image-outset: initial; border-image-repeat: initial; border-image-slice: initial; border-image-source: initial; border-image-width: initial; border: 0px; box-sizing: inherit; color: #990000; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;b&gt;cd&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;color: #666666; font-size: 13px; line-height: 18.2px;&quot;&gt;&amp;nbsp;YRLYAVG&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;ste simples comando calcula o ensemble mean de todos os arquivos de médias anuais cada um representando um cenário do modelo.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee; font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; white-space: nowrap;&quot;&gt;cdo ensmean *.nc ensemble_media_historico.nc&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;m seguida, repetimos todos esses comandos tanto para as projeções futuras RCP8.5 quanto para os arquivos históricos. Como preparação final desses arquivos antes da análise eu queria estimar a média de longo prazo do ensemble mean. Primeiro, é preciso calcular a climatologia e foi escolhido 1961-1990 como climatologia de referência.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;span style=&quot;background-color: #eeeeee;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; text-align: left; white-space: nowrap;&quot;&gt;cdo timselavg,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0080a0; font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline; white-space: nowrap;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; text-align: left; white-space: nowrap;&quot;&gt;&amp;nbsp;-seldate,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0080a0; font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline; white-space: nowrap;&quot;&gt;19610101&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; text-align: left; white-space: nowrap;&quot;&gt;,&lt;/span&gt;&lt;span class=&quot;nu0&quot; style=&quot;border: 0px; box-sizing: inherit; color: #0080a0; font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; font-stretch: normal; line-height: 18.2px; margin: 0px; outline: 0px; padding: 0px; text-align: left; vertical-align: baseline; white-space: nowrap;&quot;&gt;19900101&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; text-align: left; white-space: nowrap;&quot;&gt;&amp;nbsp;ensemble_media_historico.nc ensemble_media_1961_1990.nc&lt;/span&gt;&lt;br style=&quot;box-sizing: inherit; font-family: Monaco, &amp;quot;Lucida Console&amp;quot;, monospace; font-size: 13px; font-stretch: normal; line-height: 18.2px; text-align: left; white-space: nowrap;&quot; /&gt;&lt;span style=&quot;font-family: &amp;quot;monaco&amp;quot; , &amp;quot;lucida console&amp;quot; , monospace; font-size: 13px; line-height: 18.2px; text-align: left; white-space: nowrap;&quot;&gt;cdo sinfov ensemble_media_1961_1990.nc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;&lt;span style=&quot;font-size: 14.3px;&quot;&gt;stes comandos calcula a climatologia das simulações históricas dos modelos. Em seguida, repete os comandos para os períodos de 2006-2025 e 2025-2050 para obter as projeções futuras.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-size: 14.3px;&quot;&gt;
Boa Sorte e Bom Trabalho a Todos!!&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/8009493193231564270/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/12/criando-ensemble-mean-dos-dados-do-cmip5.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/8009493193231564270'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/8009493193231564270'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/12/criando-ensemble-mean-dos-dados-do-cmip5.html' title='Criando Ensemble mean dos dados do CMIP5'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-3854340340150614266</id><published>2016-10-23T14:22:00.000-02:00</published><updated>2016-10-23T14:32:12.490-02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dados"/><title type='text'>Formato de Dados Meteorológicos</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;xiste alguns tipos de dados que são facilmente encontrados no dia a dia dos estudos Meteorológicos, entre eles destacam-se: GRIB, netCDF e HDF. Duas características importante comuns a estes dados é que eles são portáteis e auto-descritivos. Portáteis pois podem ser manipulados em qualquer máquina (AMD, Intel, ...) e em qualquer sistema (Windows, Linux, ...). Auto-descritivos pois podem ser examinados e lidos por qualquer software (apropriado) sem que o usuário saiba detalhes estruturais do arquivo. Além disso, informações adicionais sobre os dados, chamada de “metadado (&lt;a href=&quot;https://pt.wikipedia.org/wiki/Metadados&quot; target=&quot;_blank&quot;&gt;dado sobre dado&lt;/a&gt;)” pode ser incluída no arquivo. Metadados típicos podem incluir informações textuais sobre o conteúdo e sobre as unidades de cada variável (ex., “Temperatura” e &quot;C&quot;) ou informações numéricas que descrevem as coordenadas (p.e., tempo, nível de altura, latitude e longitude) que se aplicam as variáveis.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;O&lt;/span&gt; formato destes dados tem evoluído ao longo do tempo com o objetivo de atender as necessidades da comunidade científica e civil. Por isso, alguns formatos possuem várias versões anteriores. Infelizmente para as pessoas que utilizam estes dados, as versões mais recentes nem sempre são compatíveis com as versões anteriores, apesar de fazer parte do mesmo formato de dado (e com mesma nomenclatura). Esta característica tem gerado confusão e críticas por parte dos usuários, pois a cada versão lançada exige uma adaptação necessária.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
Os dados mais conhecidos são:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.nco.ncep.noaa.gov/pmb/docs/&quot; target=&quot;_blank&quot;&gt;GRIB1&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;GRIdded Binary (Edition 1), World Meteorological Organization&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.nco.ncep.noaa.gov/pmb/docs/grib2/&quot; target=&quot;_blank&quot;&gt;GRIB2&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;GRIdded Binary (Edition 2), World Meteorological Organization&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.unidata.ucar.edu/software/netcdf/&quot; target=&quot;_blank&quot;&gt;netCDF3&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;Network Common Data Form, (Version 3.x), Unidata (UCAR/NCAR)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.unidata.ucar.edu/software/netcdf/&quot; target=&quot;_blank&quot;&gt;netCDF4&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;Network Common Data Format, (Version 4.x), Unidata (UCAR/NCAR&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://support.hdfgroup.org/products/hdf4/&quot; target=&quot;_blank&quot;&gt;HDF4&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;Hierarchical Data Format, (Version 4.x), &amp;nbsp;NCSA/NASA&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://support.hdfgroup.org/hdfeos.html&quot; target=&quot;_blank&quot;&gt;HDF4-EOS2&lt;/a&gt;: &lt;b&gt;HDF4-Earth Obseving System, (Version 2; georeferenced data)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://support.hdfgroup.org/HDF5/&quot; target=&quot;_blank&quot;&gt;HDF5&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;b&gt;Hierarchical Data Format, (Version 5.x), &amp;nbsp;NCSA/NASA&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://support.hdfgroup.org/hdfeos.html&quot; target=&quot;_blank&quot;&gt;HDF5-EOS5&lt;/a&gt;: &lt;b&gt;HDF5-Earth Obseving System, (Version 5; georeferenced data)&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://trac.osgeo.org/geotiff/&quot; target=&quot;_blank&quot;&gt;GeoTIFF&lt;/a&gt;: &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;b&gt;Georeferenced raster imagery&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;xiste uma pequena diferença entre netCDF/HDF/HDF-EOS e GRIB, no caso do primeiro conjunto de dados estamos falando de formatos de arquivos de dados enquanto que no caso do GRIB é um formato específico de gravação de dados. Os tipos de arquivos netCDF/HDF/HDF-EOS são formatos de arquivos que possuem regras sobre o conteúdo de cada arquivo. Por exemplo, no caso dos arquivos NetCDF uma regra existente é que todos os nomes das variáveis devem ser exclusivas (isto é uma regra). No caso do HDF ele permite que multiplas variáveis possuam mesmo nome, porém as variáveis devem estar em diferentes “grupos” de variáveis. Esses “grupos” podem ser complicados, mas de forma simples pode ser comparado ao sistema de diretório do Linux (ou pastas do Windows). No caso dos dados tipo GRIB, cada registro do GRIB-1 (aka, &#39;message&#39;) contém informações para duas dimensões horizontais (p.e., Latitude e Longitude) para um tempo e um nível. Já os arquivos GRIB-2 permite que cada “registro” contenha várias grades e níveis para cada tempo. Portanto, um conjunto de “registros GRIB” é chamado de “arquivo GRIB”. Diferente dos arquivos netCDF/HDF/HDF-EOS os arquivos GRIB não possuem regras que determinem a ordem deste conjunto de “registros GRIB” (p.e., estes registros podem estar em ordem cronológica aleatório).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://neondataskills.org/images/HDf5/hdf5_structure4.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://neondataskills.org/images/HDf5/hdf5_structure4.jpg&quot; height=&quot;186&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 11.44px; line-height: 22.88px;&quot;&gt;Um exemplo da estrutura de grupos que contém um arquivo HDF.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.vets.ucar.edu/luca/netcdf/XMLSchemaModel.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;158&quot; src=&quot;https://www.vets.ucar.edu/luca/netcdf/XMLSchemaModel.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;NetCDFType&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;a href=&quot;http://www.ncl.ucar.edu/Applications/list_io.shtml&quot; target=&quot;_blank&quot;&gt;Segue uma lista de exemplos de como ler e escrever estes tipos de dados utilizando o NCL.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.ncl.ucar.edu/Applications/list_data.shtml&quot; target=&quot;_blank&quot;&gt;Neste link você pode ver outro conjunto de scripts NCL para ler alguns dados específicos.&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Mais detalhes:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;netCDF&lt;/li&gt;
&lt;li&gt;HDF&lt;/li&gt;
&lt;li&gt;GRIB&lt;/li&gt;
&lt;li&gt;Binary&lt;/li&gt;
&lt;li&gt;Arquivo Texto (ASCII)&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;
Fonte: &lt;a href=&quot;https://climatedataguide.ucar.edu/&quot; target=&quot;_blank&quot;&gt;NCAR&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/3854340340150614266/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/10/formato-de-dados-meteorologicos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3854340340150614266'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3854340340150614266'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/10/formato-de-dados-meteorologicos.html' title='Formato de Dados Meteorológicos'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-4008368213905787791</id><published>2016-10-08T22:23:00.002-03:00</published><updated>2016-10-08T22:23:49.202-03:00</updated><title type='text'>Espiral da Temperatura Global</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;R&lt;/b&gt;&lt;/span&gt;ecentemente o Pesquisador &lt;a href=&quot;http://www.climate-lab-book.ac.uk/author/ehawkins/&quot; target=&quot;_blank&quot;&gt;Ed Hawkins&lt;/a&gt; do&amp;nbsp;&lt;span style=&quot;background-color: white; color: #141412; line-height: 21px;&quot;&gt;National Centre for Atmospheric Science (NCAS) publicou em sua página do &lt;a href=&quot;https://twitter.com/ed_hawkins/status/781861990373482496&quot; target=&quot;_blank&quot;&gt;twitter&lt;/a&gt; uma animação espiral do aumento da Temperatura Global e esta animação já compõem várias apresentações de vários pesquisadores em diversos eventos. Para quem deseja utiliza-la em suas aulas, apresentações e etc estou disponibilizando os links originais.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;background-color: white; color: #141412; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;http://www.climate-lab-book.ac.uk/files/2016/05/spiral_optimized.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://www.climate-lab-book.ac.uk/files/2016/05/spiral_optimized.gif&quot; width=&quot;296&quot; /&gt;&lt;/span&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; font-size: small;&quot;&gt;Espiral do aumento da Temperatura Média Global. Clique para ver em tamanho maior.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 21px;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;A&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;line-height: 21px;&quot;&gt;&amp;nbsp;animação em forma de espiral representa mudança da temperatura média global de uma forma visualmente atraente e simples. O ritmo da mudança é imediatamente óbvio, especialmente ao longo das últimas décadas. A relação entre as temperaturas globais atuais e os limites alvo discutidos internacionalmente também são claros sem muita interpretação complexa necessária.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #141412;&quot;&gt;&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 21px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;color: #141412; line-height: 21px;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;O&lt;/b&gt;&lt;/span&gt;s dados são do &lt;/span&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 24px;&quot;&gt;HadCRUT4.4 em representam a Anomalia da Temperatura de Janeiro de 1850-Março de 2016, em relação a média de 1850-1900 e pode ser acessado &lt;a href=&quot;http://www.metoffice.gov.uk/hadobs/hadcrut4/&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 24px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;C&lt;/span&gt;aracterísticas que você pode observar:&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;box-sizing: border-box; line-height: 24px;&quot;&gt;&lt;b&gt;1877-1878:&lt;/b&gt; El Nino intenso responsável pelo aumento da temperatura;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;1880-1910:&lt;/b&gt; pequeno resfriamento, parcialmente devido a erupções vulcânicas;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;1910-1940&lt;/b&gt;: aquecimento, em parte devido à recuperação de erupções vulcânicas, pequeno aumento na atividade solar e variabilidade natural;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;1950-1970:&lt;/b&gt; temperaturas praticamente inalteradas com o&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 24px;&quot;&gt;resfriamento&lt;/span&gt;&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&amp;nbsp;através dos aerossóis de sulfato mascarando o&amp;nbsp;aquecimento dos gases do efeito estufa;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b style=&quot;color: #141412; font-family: Arial, Helvetica, sans-serif; line-height: 24px;&quot;&gt;1980-hoje:&lt;/b&gt;&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 24px;&quot;&gt; forte aquecimento, com aumento maior das temperaturas em 1998 e 2016 devido a eventos fortes de El Nino.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;orque inicia em 1850?&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;&lt;/b&gt;orque é o início do conjunto de dados do HadCRUT4, e não temos dados de temperatura, mais antigos, suficientes para construir de forma confiável a temperatura média global.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;u&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;O&lt;/span&gt; que as cores significam?&amp;nbsp;&lt;/u&gt;&lt;/b&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;As cores representam o tempo. Roxo para os primeiros anos, passando pelo azul, do verde para o amarelo para a maioria dos últimos anos. A escala de cores utilizado é chamado de &quot;&lt;a href=&quot;https://betterfigures.org/2015/07/10/a-welcome-development-for-matplotlib/&quot; target=&quot;_blank&quot;&gt;viridis&lt;/a&gt;&quot; e as ilustrações foram feitas em MATLAB.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;&lt;/b&gt;lém dessa animação Ed também disponibilizou uma animação espiral da variação do Gelo Marinho do Ártico.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;&lt;b&gt;V&lt;/b&gt;&lt;/span&gt;olume diário do gelo marinho do Ártico estimado pela reconstrução &lt;a href=&quot;http://psc.apl.uw.edu/research/projects/arctic-sea-ice-volume-anomaly/&quot; target=&quot;_blank&quot;&gt;PIOMAS&lt;/a&gt; de 1979-presente, produzindo uma espiral da variação do volume de gelo marinho.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.climate-lab-book.ac.uk/files/2016/07/icevol.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://www.climate-lab-book.ac.uk/files/2016/07/icevol.gif&quot; width=&quot;302&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #141412; font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; font-size: 16px; line-height: 24px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;&lt;/b&gt;or fim, segue a animação da variação da concentração de CO2 na atmosfera medido na estação de &lt;a href=&quot;http://www.esrl.noaa.gov/gmd/ccgg/trends/&quot; target=&quot;_blank&quot;&gt;Mauna Loa&lt;/a&gt; no Hawaii.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://www.climate-lab-book.ac.uk/files/2016/09/co2.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://www.climate-lab-book.ac.uk/files/2016/09/co2.gif&quot; width=&quot;310&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; box-sizing: border-box; color: #141412; line-height: 24px;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;Boa Sorte e Bom Trabalho a Todos!!&lt;/span&gt;&lt;/span&gt;</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/4008368213905787791/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/10/espiral-da-temperatura-global.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4008368213905787791'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4008368213905787791'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/10/espiral-da-temperatura-global.html' title='Espiral da Temperatura Global'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-3632966055068845974</id><published>2016-07-12T21:35:00.000-03:00</published><updated>2016-07-13T17:00:33.347-03:00</updated><title type='text'>Quanto vale a Meteorologia?</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Q&lt;/span&gt;uanto vale $$ uma Previsão de tempo ou clima? Quanto vale um mapa de vento? Quanto vale uma consultoria em Meteorologia?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;R&lt;/span&gt;ecentemente fui convidado para ministrar uma palestra sobre o Mercado de Trabalho de Meteorologia, curioso que este sempre foi um assunto que me chamou muita a atenção, por motivos óbvios. Neste texto eu pretendo ter a pretensão de trazer uma reflexão para todos nós Profissionais/Estudantes de Meteorologia sobre o mercado de Meteorologia.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://rlv.zcache.com.br/trabalho_do_meteorologista_travesseiro_de_decoracao-r82d4c0e874bb4dbb8c2b8b013a8c1c87_6s309_8byvr_512.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://rlv.zcache.com.br/trabalho_do_meteorologista_travesseiro_de_decoracao-r82d4c0e874bb4dbb8c2b8b013a8c1c87_6s309_8byvr_512.jpg&quot; height=&quot;320&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;F&lt;/span&gt;iz uma busca na internet, mas não encontrei informações sobre as oportunidades de emprego/empresas disponíveis atualmente no Brasil e fazer uma estimativa destas oportunidades poderia ficar muito fora da realidade. Portanto, este texto não trata das oportunidades/vagas/quantidades, mas do mercado em si, suas características, empregado, empregador e ensino.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;T&lt;/span&gt;odo mercado de trabalho tem suas características peculiares influenciadas pelo &quot;sentimento&quot; do empregado e do empregador, mas principalmente pelo perfil do formador do profissional. Alguns setores são predominantemente privado outros apresentam uma proporção um pouco mais dividida e outros são efetivamente Públicos. Onde nós estamos?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;tualmente o mercado de trabalho em Meteorologia oferece oportunidades de emprego no setor Público e no setor Privado, estando no setor Público as maiores oportunidades. Além disso, todos nós sabemos que o ensino de Meteorologia nível médio/superior é exclusivamente Público. Por estes motivos identificamos que a primeira ou a principal ou até mesmo a escolha mais segura dos Profissionais de Meteorologia está no setor Público. Entretanto, tenho observado que a grande maioria dos funcionários públicos ou dos pretendentes ao setor nos cargos de Meteorologia demonstram uma nítida falta de conhecimento do que é ser um servidor público. Entendo e aceito que pode não ser a maioria e eu possa estar enganado, mas este não é o ponto. Desta forma, é válido falarmos um pouco sobre o que é ser ou o que deveríamos levar em consideração ao escolhermos seguir uma carreira no serviço público:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;ntes de mais nada permitam-me fazer uma observação: definitivamente somos o país do contraditório. Nos últimos anos, observamos o surgimento de uma febre na busca por concursos públicos. Na esteira desta febre surgiu-se um mercado de cursinhos e publicações especializadas no assunto, criou-se até um adjetivo para qualificar aqueles que almejam uma vaga no serviço público, CONCURSEIROS. O contraditório está no fato deste povo todo escolher representantes, presidentes principalmente, que pregam o estado mínimo, ou seja, que não querem tantas vagas de concursos assim. Uma enorme contradição, mas o tema aqui não será política.&lt;/blockquote&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;ntes de decidirmos seguir ou não uma carreira no serviço público deveríamos (Meteorologistas ou não) ser capazes de responder duas perguntas simples:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Q&lt;/span&gt;ual a motivação de um profissional escolher o serviço público?&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;R&lt;/span&gt;: Carreira? Ambiente de Trabalho? A qualidade/excelência das Instituições? Salário?...ESTABILIDADE?&lt;/div&gt;
&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Q&lt;/span&gt;ual a sua opinião sobre a carreira e principalmente sobre qualidade do serviço público no Brasil hoje?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;R&lt;/span&gt;: Funciona?, O atendimento é satisfatório? Tem qualidade? É ético?&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;É&lt;/span&gt; possível com essas motivações (Carreira, Salário, ESTABILIDADE e etc) resolver os atuais problemas (serviço de baixa qualidade) do serviço público?&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E &lt;/span&gt;se mudarmos as motivações do servidor público para: Vocação, Ideologia, Patriotismo, vontade de ajudar ao próximo e principalmente VONTADE de trabalhar para melhorar o SERVIÇO Público? Pois bem, a decisão de seguir no setor Público não pode ser somente pela carreira, salário, estabilidade e etc, mas sim principalmente pela ideologia. Garanto que em algum momento das nossas carreiras encontramos funcionários públicos infelizes com seu trabalho e vemos está infelicidade refletindo nas suas atividades diárias ou até mesmo na falta delas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://distfr96u80ri.cloudfront.net/wp-content/uploads/2014/10/ilustra%C3%A7%C3%A3o-2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;222&quot; src=&quot;https://distfr96u80ri.cloudfront.net/wp-content/uploads/2014/10/ilustra%C3%A7%C3%A3o-2.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;U&lt;/span&gt;ma pesquisa 
recente mostrou que o motivo de quase 15 milhões de jovens brasileiros 
escolherem fazer um concurso não é vocação, ideologia ou patriotismo e 
sim ESTABILIDADE, mas batalhar por Estabilidade não é pouco para quem é 
inteligente e determinado?&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;S&lt;/span&gt;erá que alguém passaria em um concurso público sem dedicação e inteligência/conhecimento?&lt;/b&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;N&lt;/span&gt;ão&lt;/span&gt; seria um anseio conservador e de pouca ambição batalhar por: Estabilidade?&lt;/b&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;S&lt;/span&gt;e todo mundo decidisse ser Servidor Público, teríamos 200 milhões de vagas? Afinal de contas alguém precisa pagar imposto.&lt;/b&gt;&lt;/blockquote&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;xiste a tal ESTABILIDADE?&lt;/b&gt;&lt;/div&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;E&lt;/span&gt;m 2013 os EUA mandaram para casa sem salários mais de 800 mil funcionários públicos;&lt;/b&gt;&lt;/blockquote&gt;
&lt;blockquote class=&quot;tr_bq&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-size: large;&quot;&gt;N&lt;/span&gt;a Grécia mais de 100 mil foram demitidos.&lt;/b&gt;&lt;/blockquote&gt;
&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt; Estabilidade NÃO existe! Precisamos aprender a viver com essa realidade.&lt;/b&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ortanto, o problema identificado mostra que temos Profissionais de Meteorologia que escolhem seguir no serviço público sem ter perfil e as consequências destas escolha têm sido desastrosas para Meteorologia tanto no setor operacional quanto (principalmente) no ensino.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;R&lt;/span&gt;aciocine um pouco. Como foi sua formação dentro dos cursos técnicos ou das Universidades de Meteorologia? Seus professores aconselharam, seu departamento deu condições para você seguir no setor Privado? Se o único caminho lhe indicado foi o serviço Público você foi orientado ou preparado para tal? Alguém lhe falou que você poderia criar uma empresa de Meteorologia ou trabalhar como Consultor? &lt;b&gt;&lt;i&gt;Vejo com muita preocupação essa falta de informação durante a formação dos nossos profissionais de Meteorologia.&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;orque isso seria uma preocupação? Existe um concurso aberto para Professor do curso de Meteorologia da UFAL (07/2016) com duas vagas onde o requisito para inscrição é ser Graduado em Meteorologia e temos aproximadamente 30 candidatos (Doutores) inscritos. São no mínimo 30 Doutores &quot;desempregados&quot;. Em tempos de crise econômica nós sabemos que não existe previsão do surgimento de novas vagas para novos concursos, estas vagas da UFAL são provenientes de aposentadoria.&amp;nbsp;&lt;b&gt;&lt;i&gt;&lt;/i&gt;&lt;/b&gt; &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;xistem na minha visão duas consequência graves deste &quot;encaminhamento&quot; dos Profissionais de Meteorologia para o setor público, que são eles: &lt;u&gt;a visão de que os serviços de Meteorologia são gratuitos e empecilho do desenvolvimento do setor privado de Meteorologia do Brasil.&lt;/u&gt; Estas consequência influenciam fortemente o consumidor dos serviços de Meteorologia.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ara mim o maior dos problemas gerado por essa cultura é a nossa &lt;b&gt;Previsão de Tempo&lt;/b&gt;. A Previsão de Tempo no Brasil NÃO tem valor (R$) tanto o setor público (CPTEC, INMET, etc) quanto no privado (Climatempo, SOMAR, etc) a Previsão de Tempo é distribuída gratuitamente em seus portais ou produtos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://images.quebarato.com.br/T440x/galo+do+tempo+muda+de+cor+conforme+as+mudancas+climaticas+sao+paulo+sp+brasil__3F178E_2.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://images.quebarato.com.br/T440x/galo+do+tempo+muda+de+cor+conforme+as+mudancas+climaticas+sao+paulo+sp+brasil__3F178E_2.jpg&quot; height=&quot;240&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ercebam que nas ementas dos cursos de Meteorologia espalhados pelo Brasil a principal &quot;obrigação&quot; é formar Profissionais de Meteorologia capazes de fazer uma Previsão de Tempo, ou seja, a principal habilidade de um Meteorologista Graduado é fazer &lt;b&gt;Previsão do Tempo&lt;/b&gt;. Habilidade essa distribuída gratuitamente. Agora como dizer para um estudante de Meteorologia que existe &quot;vida&quot; fora do serviço público se ao mesmo tempo eu digo para ele que a principal habilidade que ele tem é oferecida de forma gratuita pela comunidade? Imagina informar a um Engenheiro Civil que a construção de prédios é gratuita? Ou a um arquiteto que os projetos de casas, prédios e etc é distribuída de forma gratuita?&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;D&lt;/span&gt;iante deste cenário de crise e incertezas eu pergunto. Estamos preparados para ser um consultor ou empreendedor de Meteorologia? Quanto custa uma Previsão de tempo ou clima? Como eu calculo o preço de uma simulação climática ou um mapa de vento? Isto é ensinado nas salas de aula? Chutar um valor entre 10 e 100 mil é saudável para o setor privado? Os preços praticados pelas empresas privadas estão dentro da realidade?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;D&lt;/span&gt;iante de um cenário de crise econômica e de poucas oportunidade de concursos me preocupa muito a existência destes diversos fatores que prejudicam o crescimento do setor privado em Meteorologia no Brasil. Sabemos que as instituições Públicas disponibilizam de forma gratuita para população outros produtos além da Previsão de Tempo. Além disso, há relatos de que destas instituições concorrendo com as instituições privadas por projetos e por espaço no mercado privado. &lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;s Universidade continuam formando Meteorologistas
 os cursos técnicos continuam formando técnicos em Meteorologia as 
pós-graduação continuam formando Mestres e Doutores em Meteorologia 
sabemos que não teremos concursos públicos nos próximos anos, sabemos que as instituições de fomento (CNPQ, CAPES e as Fundações de Amparo a Pesquisa) não terão Bolsas suficientes para manter tantos Meteorologistas e que cada vez mais criamos mecanismos para enfraquecer o setor privado.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;N&lt;/span&gt;ão passou da hora de discutirmos o fortalecimento do setor privado de Meteorologia? Não passou da hora de utilizarmos o setor Público de Meteorologia para fortalecer o setor privado e não o contrário? Não passou da hora de prepararmos nossos Profissionais de Meteorologia para o setor privado ou para criar o setor privado de Meteorologia do Brasil? Não passou da hora dos cursos de Meteorologia do Brasil terem disciplinas voltadas a administração e empreendedorismo? Vale a ressalva o curso de &lt;a href=&quot;https://portalacademico.unifei.edu.br/files/material/ppc/C01_CAT.pdf&quot; target=&quot;_blank&quot;&gt;Ciências Atmosféricas da UNIFEI&lt;/a&gt; é uma excelente exceção neste ponto.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;recisamos pensar urgentemente no mercado de trabalho brasileiro de meteorologia. As instituições Públicas precisam encontrar seu melhor papel neste mercado. As empresas de meteorologia precisam valorizar seus produtos e sua mão de obra. Os meteorologista precisam saber que existe outras opções além da pós. As instituições de ensino precisam preparar seus estudantes para o setor privado. Para aqueles que acham que criar um mercado de trabalho, criar seu próprio emprego empreender em Meteorologia é muito difícil eu lhes digo que fazer uma pós viver de Bolsa esperar um concurso público não é nada fácil.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ara quem tem dúvida se Meteorologia dar dinheiro existe uma estimativa de que o setor privado de Meteorologia rendeu no ano de 2014 algo próximo de 30 milhões de reais no ano, detalhe este setor está concentrado na região sudeste. Além disso, para quem não sabe a &lt;a href=&quot;http://computerworld.com.br/ibm-compra-empresa-de-meteorologia-weathercom-para-divisao-watson-iot&quot; target=&quot;_blank&quot;&gt;IBM comprou a Weather Channel no ano passado por 2 bilhões de dólares&lt;/a&gt;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/3632966055068845974/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/07/quanto-vale-meteorologia.html#comment-form' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3632966055068845974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3632966055068845974'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/07/quanto-vale-meteorologia.html' title='Quanto vale a Meteorologia?'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-1109865654574347126</id><published>2016-03-17T11:29:00.001-03:00</published><updated>2016-03-17T11:42:11.828-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="El nino"/><category scheme="http://www.blogger.com/atom/ns#" term="Ensino"/><title type='text'>Definição de El nino e La Nina</title><content type='html'>&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;O&lt;/span&gt; Termo El Niño é utilizado desde os anos 1600 pelos pescadores da costa do Equador e &lt;a href=&quot;http://www.ciifen.org/&quot; target=&quot;_blank&quot;&gt;Peru&lt;/a&gt; para se referir a corrente quente do Oceano Pacífico que aparecia próximo do Natal e durava alguns meses. O termo Niño em espanhol durante a época do Natal é utilizado para se referir ao menino Jesus, todavia esta corrente quente próximo da costa diminuía a quantidade de alimento dos peixes obrigando os pescadores a se afastarem cada vez mais da costa para encontrar o pescado ou muitas vezes utilizar este tempo para reparar seus equipamentos ou ficar com suas famílias. No entanto, em alguns casos este período de correntes mais quentes perduravam até Maio ou Junho o que provocava uma ruptura na temporada de pesca, por isso por muitas vezes o El Niño era chamado de &quot;menino travesso&quot;.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;A&lt;/span&gt; definição do fenômeno El Niño evoluiu muito ao longo do tempo e no início provocou muita confusão sobre seu real significado. No ano de 1997 o pesquisador &lt;a href=&quot;http://www.cgd.ucar.edu/staff/trenbert/&quot; target=&quot;_blank&quot;&gt;Kevin E. Trenberth&lt;/a&gt;&amp;nbsp;do &lt;a href=&quot;http://ncar.ucar.edu/&quot; target=&quot;_blank&quot;&gt;NCAR&lt;/a&gt; (National Center for Atmospheric Research) escreveu um &lt;a href=&quot;http://www.cgd.ucar.edu/staff/trenbert/trenberth.papers/i1520-0477-078-12-2771.pdf&quot; target=&quot;_blank&quot;&gt;artigo&lt;/a&gt;&amp;nbsp;a pedido do &lt;a href=&quot;http://www.clivar.org/&quot; target=&quot;_blank&quot;&gt;CLIVAR&lt;/a&gt; (Climate and Ocean Variabilit, Predictability and Change) do &lt;a href=&quot;http://www.wcrp-climate.org/&quot; target=&quot;_blank&quot;&gt;WCRP&lt;/a&gt; (Wolrd Climate Research Programme) para tentar definir tal fenômeno. Na época foi feito uma consulta com a comunidade científica e uma tentativa (bem sucedida por sinal) de resumir as principais características sabidas na época sobre o El Niño foi feita. Este ano é emblemático pois se trata do ano em que ocorreu o mais intenso El Nino já registrado (iremos falar dele em breve link).&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;A&lt;/span&gt;o longo dos anos as pesquisas científicas mostraram que, além do El Niño existia um período em que as condições meteorológicas observada eram inversa ao padrão observado durante eventos de El Niño ao qual foi chamada de La Niña, anos depois as pesquisas mostraram que estes padrões influenciavam a atmosfera o que levou a criação do termo ENOS (El Niño Oscilação Sul) do inglês ENSO (El Nino South Oscillation). Portanto, para definirmos o fenômeno precisamos ao mesmo tempo definirmos a sua fase oposta ou La Niña e o ENOS.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;D&lt;/span&gt;efinição do El Niño, La Niña e ENOS&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;O&lt;/span&gt; El Niño é caracterizado pelo enfraquecimento de larga escala dos&amp;nbsp;&lt;a href=&quot;https://pt.wikipedia.org/wiki/Al%C3%ADsios&quot; target=&quot;_blank&quot;&gt;ventos alísios&lt;/a&gt;&amp;nbsp;e aquecimento das camadas superficiais da região leste e central do oceano Pacífico. Além disso, durante um evento de El Niño a pressão atmosférica sobre a região do Pacífico central é mais baixa. Portanto, ao descobrirmos que durante um evento de El Niño observamos mudanças na Temperatura da Superfície do Mar (TSM), nos ventos Alísios e na &lt;a href=&quot;https://en.wikipedia.org/wiki/Atmospheric_pressure#Mean_sea_level_pressure&quot; target=&quot;_blank&quot;&gt;Pressão ao Nível Médio do Mar&lt;/a&gt; (PNMM) chegamos a conclusão que se trata de fenômeno de interação entre o oceano e a atmosfera que conhecemos como ENOS.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;A&lt;/span&gt;ntes de continuarmos vamos abrir aspas (&quot;&quot;) para falarmos um pouco sobre estas três características anteriormente citadas (Ventos Alísios, TSM e PNM).&lt;/div&gt;
&lt;ol&gt;
&lt;li style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Ventos Alísios&lt;/b&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;O termo &lt;a href=&quot;https://en.wikipedia.org/wiki/Trade_winds&quot; target=&quot;_blank&quot;&gt;trade winds&lt;/a&gt; (Ventos de Comércio, tradução livre) é utilizado para se referir aos ventos utilizados pelos navegadores e seus navios a vela na época das grandes navegações, este ventos foram muito importantes para a expansão do império europeu para as Américas possibilitando criar rotas da Europa para as Américas e regiões do oceano Pacífico. Os ventos alísios são ventos que ocorrem na região tropical durante todo o ano. Os alísios são resultado do fluxo associado ao cinturão de alta pressão subtropical (altas semi-permanentes), localizados nas latitudes de 30ºN e 30ºS (Figura 1), que apresentam orientação de sudeste no Hemisfério Sul e de Nordeste no Hemisfério Norte (representado pelas setas vermelhas na parte superior da Figura 1) a confluência destes dois fluxos na região equatorial produz um fluxo predominantemente de leste localizados próximos da superfície e a convergência de massa produz a Zona de Convergência Intertropical ZCIT (região equatorial da Figura 1).&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://sites.google.com/site/catalaocml/_/rsrc/1257443242690/home/vento/Xveio41.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://sites.google.com/site/catalaocml/_/rsrc/1257443242690/home/vento/Xveio41.jpg&quot; width=&quot;280&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Figura 1:&lt;/b&gt; Representação esquemática horizontal (parte superior) dos cinturões de alta pressão e dos ventos Alísios e vertical (parte inferior) de parte da circulação geral.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2. &lt;b&gt;Temperatura da Superfície do Mar - TSM&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;A Temperatura da Superfície do Mar medida através de &lt;a href=&quot;http://www.nature.com/news/2009/090923/full/461455a.html&quot; target=&quot;_blank&quot;&gt;Boias&lt;/a&gt;, Navios e após 1979 Satélites são importantes para determinar as condições de El Niño e La Niña. Para estudarmos o fenômeno El Niño nós meteorologistas calculamos Índices a partir da anomalia TSM o mais conhecido deles é o &lt;a href=&quot;http://www.cpc.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml&quot; target=&quot;_blank&quot;&gt;Oceanic Niño Index&lt;/a&gt;&amp;nbsp;(ONI). O ONI se refere uma série temporal trimestral da anomalia de TSM sobre as regiões que nós identificamos o El Niño Figura 2.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://607c350d21edde35aa1c-bde3d89f53e44b04f1a9eada764d8cd9.ssl.cf1.rackcdn.com/os_uploads/News/2014/08-August/2014-08-17%20How%20will%20El%20Nino%20impact%20snowfall%20for%20the%2020142015%20ski%20season/2014-08-17-ENSO-01.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;170&quot; src=&quot;https://607c350d21edde35aa1c-bde3d89f53e44b04f1a9eada764d8cd9.ssl.cf1.rackcdn.com/os_uploads/News/2014/08-August/2014-08-17%20How%20will%20El%20Nino%20impact%20snowfall%20for%20the%2020142015%20ski%20season/2014-08-17-ENSO-01.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Figura 2:&lt;/b&gt; Regiões referente ao tipo de El Niño identificado.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;3. &lt;b&gt;Pressão ao Nível Médio do Mar - PNMM&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;A Pressão ao Nível Médio do Mar é uma variável extremamente importante na identificação do fenômeno El Niño. Durante a ocorrência do El Niño observa-se a existência do que nós Meteorologistas chamamos de &quot;gangorra barométrica&quot; está gangorra está relacionada a uma diferença na PNMM em duas regiões do Pacífico; uma sobre a Ilha do Tahiti (17ºS-149ºW) e outra sobre o norte da Austrália (Darwin: 12ºS-130ºE) Figura 3. A diferença entre a PNMM medida na estação meteorológica do Tahiti e a PNMM medida na estação de Darwin produz um Índice chamado de &lt;a href=&quot;https://www.ncdc.noaa.gov/teleconnections/enso/indicators/soi/&quot; target=&quot;_blank&quot;&gt;Southern Oscillation Index&lt;/a&gt; (SOI) esta diferença começou a ser documentada pelos pesquisadores &lt;a href=&quot;https://en.wikipedia.org/wiki/Gilbert_Walker&quot; target=&quot;_blank&quot;&gt;Sir Gilber Thomas Walker&lt;/a&gt; e Bliss e registrada em seus artigos publicados em &lt;a href=&quot;http://www.rmets.org/sites/default/files/ww4.pdf&quot; target=&quot;_blank&quot;&gt;1930&lt;/a&gt;, &lt;a href=&quot;http://www.rmets.org/sites/default/files/ww5.pdf&quot; target=&quot;_blank&quot;&gt;1932&lt;/a&gt; e &lt;a href=&quot;http://www.rmets.org/sites/default/files/ww6.pdf&quot; target=&quot;_blank&quot;&gt;1937&lt;/a&gt;. O Índice SOI é uma medida das flutuações de grande escala na pressão do ar que ocorrem entre o Pacífico tropical oeste e leste durante os episódios de El Niño e La Niña (Figura 4). A fase negativa do SOI representa a pressão do ar abaixo do normal sobre o Tahiti e pressão do ar acima do normal sobre Darwin. Períodos prolongados de valores negativos (positivos) do SOI coincidem com TSM positivas (negativas) em todo o leste do Pacífico tropical características típicas observadas durante episódios de El Niño (La Niña).&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://www.climate.gov/sites/default/files/Fig1_ENSOindices_SOI_large.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;193&quot; src=&quot;https://www.climate.gov/sites/default/files/Fig1_ENSOindices_SOI_large.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Figura 3:&lt;/b&gt; Localização das estações Meteorológicas do Tahiti e Darwin.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://www.niwa.co.nz/sites/niwa.co.nz/files/styles/large/public/sites/default/files/images/soi_june_2012.jpg?itok=CY5r-6i7&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;184&quot; src=&quot;https://www.niwa.co.nz/sites/niwa.co.nz/files/styles/large/public/sites/default/files/images/soi_june_2012.jpg?itok=CY5r-6i7&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: center;&quot;&gt;&lt;b&gt;Figura 4:&lt;/b&gt; Valores mensais do SOI. A Linha preta refere-se a uma média trimestral do SOI.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;P&lt;/span&gt;ortanto, o termo El Niño refere-se ao aquecimento anômalo da TSM observado nas regiões destacadas na Figura 2. No entanto, a fase positiva do ENOS refere-se à interação do oceano com atmosfera do clima em larga escala ligados a um aquecimento periódico das TSM nas regiões do Pacífico central e leste e mudanças na intensidade dos ventos Alísios.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;P&lt;/span&gt;or outro lado, o termo La Niña, evento frio do ENOS ou fase fria do ENOS são usados para se referir aos períodos em que as anomalias da Temperatura da Superfície do Leste e Centro do oceano Pacífico são negativas e os padrões dos ventos Alísios estão mais fortes. O termo &quot;El Viejo&quot; e &quot;anti-El Niño&quot; também foram termos utilizados para se referir a fase fria do ENOS. No entanto, estes termos são utilizados com menos frequência e o termo La Niña é o mais comum.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;U&lt;/span&gt;ma última característica a ser observada refere-se a &lt;a href=&quot;https://en.wikipedia.org/wiki/Walker_circulation&quot; target=&quot;_blank&quot;&gt;Circulação de Walker&lt;/a&gt;.&amp;nbsp;Na Figura 1 podemos observar uma representação simplificada do fluxo de ar sobre a região do Equador durante o inverno (verão) do hemisfério norte (sul). Este padrão de ventos associados a circulação de Walker é observado durante as condições médias (normais) conhecido como fase neutra do ENOS. As características importantes observadas são: o ramos ascendentes da circulação Walker intenso (mais forte) em todo o continente Marítimo (Austrália, Indonésia e etc) e mais fraco sobre o oste da África e no norte da América do Sul. As regiões onde observam-se movimento ascendentes (descendentes) estão associadas a formação (inibição) da precipitação para o trimestre Dezembro-Janeiro-Fevereiro.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;span style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://www.climate.gov/sites/default/files/Walker_Neutral_large.jpg&quot; width=&quot;320&quot; /&gt;&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Figura 5:&lt;/b&gt; Representação simplificada da Circulação de Walker durante a fase Neutra do ENOS durante o Verão do Hemisfério Sul (DJF). Fonte &lt;a href=&quot;https://www.climate.gov/news-features/department/enso-blog&quot; target=&quot;_blank&quot;&gt;ENSO-blog&lt;/a&gt;.&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.blogger.com/&quot;&gt;&lt;/a&gt;&lt;span id=&quot;goog_495631029&quot;&gt;&lt;/span&gt;&lt;span id=&quot;goog_495631030&quot;&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;D&lt;/span&gt;urante a fase quente do ENOS o padrão da circulação de Walker sofre mudanças significativas Figura 6. As cores mais quente na Figura 6 representa as anomalias positivas de TSM associadas ao fenômeno El Niño. Observe associado as anomalias de TSM está deslocam dos ramos ascendentes (descendentes) localizados sobre o continente Marítimo e sobre a América do Sul (Pacífico central e Índico oeste) associados a circulação de Walker. Além disso, observa-se o enfraquecimento dos ventos Alísios de leste próximo da superfície. Esta mudanças no padrão de circulação também provoca mudança no padrão de precipitação que se tornam mais intensas (fracas ou inexistentes) sobre o Pacífico central e norte da África (América do Sul e Continente Marítimo).&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://www.climate.gov/sites/default/files/Walker_ElNino_2colorSSTA_large.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://www.climate.gov/sites/default/files/Walker_ElNino_2colorSSTA_large.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Figura 6:&lt;/b&gt; Representação simplificada da Circulação de Walker durante a fase Quente do ENOS durante o Verão do Hemisfério Sul (DJF).&lt;span style=&quot;font-size: 12.8px;&quot;&gt;&amp;nbsp;Fonte&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.climate.gov/news-features/department/enso-blog&quot; style=&quot;font-size: 12.8px;&quot; target=&quot;_blank&quot;&gt;ENSO-blog&lt;/a&gt;&lt;span style=&quot;font-size: 12.8px;&quot;&gt;.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: &amp;quot;verdana&amp;quot; , sans-serif; font-size: x-large;&quot;&gt;N&lt;/span&gt;a fase fria do ENOS&amp;nbsp;período em que as águas do Pacífico oeste (continente Marítimo) são ainda mais quente em comparação a fase neutra do ENOS (Figura 5) e as águas do Pacífico leste são ainda mais frias. O padrão da circulação de Walker observado durante a fase fria do ENOS é semelhante ao padrão observado durante a fase neutra do ENOS porém mais intensificado. Observa-se que durante esta fase o ar úmido e quente se eleva ainda mais sobre o continente marítimo e sobre a América do Sul elevando a precipitação a valores acima da média. No leste do oceano Pacífico, onde a TSM é mais fria que a média, o ramo descendente da circulação de Walker mais intenso contribui com a redução maior dos totais pluviométricos da região que normalmente já são baixos.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;table align=&quot;center&quot; cellpadding=&quot;0&quot; cellspacing=&quot;0&quot; class=&quot;tr-caption-container&quot; style=&quot;margin-left: auto; margin-right: auto; text-align: center;&quot;&gt;&lt;tbody&gt;
&lt;tr&gt;&lt;td style=&quot;text-align: center;&quot;&gt;&lt;a href=&quot;https://www.climate.gov/sites/default/files/Walker_LaNina_2colorSSTA_large.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: auto; margin-right: auto;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;160&quot; src=&quot;https://www.climate.gov/sites/default/files/Walker_LaNina_2colorSSTA_large.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;tr-caption&quot; style=&quot;text-align: justify;&quot;&gt;&lt;b&gt;Figura 7:&lt;/b&gt; Representação simplificada da Circulação de Walker durante a fase Fria do ENOS durante o Verão do Hemisfério Sul (DJF).&lt;span style=&quot;font-size: 12.8px;&quot;&gt;&amp;nbsp;Fonte&amp;nbsp;&lt;/span&gt;&lt;a href=&quot;https://www.climate.gov/news-features/department/enso-blog&quot; style=&quot;font-size: 12.8px;&quot; target=&quot;_blank&quot;&gt;ENSO-blog&lt;/a&gt;&lt;span style=&quot;font-size: 12.8px;&quot;&gt;.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;&lt;i&gt;Este é o primeiro de uma série de post que irei fazer sobre El Nino, La Nina e ENOS. Os próximos post irão tratar dos impactos de ENOS sobre a variabilidade climática do Globo e América do Sul, a previsão do El Nino e as condições do atual El Niño. Em breve!&lt;/i&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;b&gt;Referências Bibliográficas:&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.cpc.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml&quot; target=&quot;_blank&quot;&gt;http://www.cpc.noaa.gov/products/analysis_monitoring/ensostuff/ensoyears.shtml&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.ncdc.noaa.gov/teleconnections/enso/indicators/soi/&quot; target=&quot;_blank&quot;&gt;https://www.ncdc.noaa.gov/teleconnections/enso/indicators/soi/&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://en.wikipedia.org/wiki/Trade_winds&quot; target=&quot;_blank&quot;&gt;https://en.wikipedia.org/wiki/Trade_winds&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://en.wikipedia.org/wiki/Walker_circulation&quot; target=&quot;_blank&quot;&gt;https://en.wikipedia.org/wiki/Walker_circulation&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.rmets.org/publications/classic-papers&quot; target=&quot;_blank&quot;&gt;http://www.rmets.org/publications/classic-papers&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.nature.com/news/2009/090923/full/461455a.html&quot; target=&quot;_blank&quot;&gt;http://www.nature.com/news/2009/090923/full/461455a.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://biophysics.sbg.ac.at/atmo/elnino.htm&quot; target=&quot;_blank&quot;&gt;http://biophysics.sbg.ac.at/atmo/elnino.htm&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;https://www.climate.gov/news-features/department/enso-blog&quot; target=&quot;_blank&quot;&gt;https://www.climate.gov/news-features/department/enso-blog&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.pmel.noaa.gov/tao/elnino/el-nino-story.html&quot; target=&quot;_blank&quot;&gt;http://www.pmel.noaa.gov/tao/elnino/el-nino-story.html&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.cgd.ucar.edu/staff/trenbert/trenberth.papers/i1520-0477-078-12-2771.pdf&quot; target=&quot;_blank&quot;&gt;Trenberth, Kevin E. &quot;The definition of el nino.&quot; Bulletin of the American Meteorological Society 78.12 (1997): 2771-2777.&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.rmets.org/sites/default/files/ww5.pdf&quot; target=&quot;_blank&quot;&gt;Walker, G.T. and Bliss, E.W., 1932. World Weather V&lt;strong style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;&gt;,&amp;nbsp;&lt;/strong&gt;&lt;em style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;&gt;Memoirs of the Royal Meteorological Society,&amp;nbsp;&lt;/em&gt;4, (36)&lt;strong style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;&gt;&amp;nbsp;,&lt;/strong&gt;&amp;nbsp;53-84.&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.rmets.org/sites/default/files/ww4.pdf&quot; target=&quot;_blank&quot;&gt;Walker, G.T. and Bliss, E.W., 1930. World Weather IV,&amp;nbsp;&lt;em style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;&gt;Memoirs of the Royal Meteorological Society,&amp;nbsp;&lt;/em&gt;3, (24), 81-95.&amp;nbsp;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;a href=&quot;http://www.rmets.org/sites/default/files/classicindia1.pdf&quot; target=&quot;_blank&quot;&gt;Walker, G.T. and Bliss, E.W., 1937. World Weather VI,&amp;nbsp;&lt;em style=&quot;background-repeat: no-repeat; box-sizing: border-box;&quot;&gt;Memoirs of the Royal Meteorological Society,&amp;nbsp;&lt;/em&gt;4, (39), 119-139.&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/1109865654574347126/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/definicao-de-el-nino-e-la-nina.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/1109865654574347126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/1109865654574347126'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/definicao-de-el-nino-e-la-nina.html' title='Definição de El nino e La Nina'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-1985134271101880330</id><published>2016-03-09T09:33:00.000-03:00</published><updated>2016-03-09T10:06:00.619-03:00</updated><title type='text'>O Exercício Ilegal da Profissão de Meteorologista</title><content type='html'>&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;N&lt;/span&gt;as últimas décadas a profissão de Meteorologista tem chamado cada vez mais a atenção da população brasileira. Infelizmente muitas vezes o profissional de Meteorologia somente é lembrado quando algum desastre natural grave acontece, tais como grandes enchentes, secas severas, eventos de ventos fortes e etc.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;o longo do tempo os estudos sobre Mudanças Climáticas tem colocado a Meteorologia em destaque no mundo. Grande eventos, grandes campanhas e intensa repercussão em todo tipo de mídias aumentou significativamente, o número de pós-graduandos e pesquisadores estudando sobre assuntos relacionados a Meteorologia (Mudanças Climáticas).&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7MTzV58cF2BtdJCETkpIYJERfvzNhsHiZ8zzgxyAlMfuTpsoeRZS13G1Tn0hYmNIIjNNuMNtEYfKnVb6-XeEyq0zWfFd1ArG0RyloSN4V9_ppIS5rIdLTXNEy6xQ0ARXP-AH-155ffek3/s1600/ClimateChangeCOnferences.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7MTzV58cF2BtdJCETkpIYJERfvzNhsHiZ8zzgxyAlMfuTpsoeRZS13G1Tn0hYmNIIjNNuMNtEYfKnVb6-XeEyq0zWfFd1ArG0RyloSN4V9_ppIS5rIdLTXNEy6xQ0ARXP-AH-155ffek3/s320/ClimateChangeCOnferences.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&quot;&lt;i&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;ste interesse da sociedade em relação a Meteorologia tem atraído mais a atenção dos estudantes de ensino médio para o curso de Meteorologia, claro que a procura ainda é pequena e oscila muito ao longo dos anos. Por se tratar de uma ciência relativamente nova no mundo e ainda mais jovens no Brasil as pessoas não tem muito conhecimento sobre a formação de um Meteorologista. Esta característica é responsável pela desistência de muitos alunos pois possuem uma visão incompleta do curso de graduação em Meteorologia, ou seja, ao se deparar com disciplinas de Cálculo e Física por exemplo alguns desistem. Em um outro post eu irei abordar um pouco sobre as características da carreira de um Meteorologista link.&lt;/i&gt;&quot;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt;companhado do aumento do interesse da sociedade, dos alunos de ensino médio e principalmente dos alunos de pós-graduação surgiu um problema que já fora observado em algumas profissões no Brasil e este problema é grave e a legislação tipifica como &quot;Exercício Ilegal da Profissão&quot;. &amp;nbsp;&lt;i&gt;Vale uma ressalva aqui: obviamente eu não sou jurista e não tenho conhecimento total da lei e da interpretação dela, portanto agradeço as opiniões e correções&lt;/i&gt;. Ultimamente temos observado uma inquietação por parte da comunidade meteorológica em relação a algumas pessoas que estão exercendo ilegalmente a profissão de Meteorologista. A identificação dos casos de exercício ilegal da Profissão está associada principalmente a prática da Previsão de Tempo e Clima.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;Segundo a &lt;a href=&quot;http://www.planalto.gov.br/ccivil_03/leis/1980-1988/L6835.htm&quot; target=&quot;_blank&quot;&gt;Lei Federal nº 6835 de 14 de Outubro de 1980&lt;/a&gt; Art. 7º - São atribuições do meteorologista:&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;...&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;d) executar previsões meteorológicas;&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;br /&gt;
&lt;i&gt;.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;...&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;essoas que alegam serem entusiasta ou apaixonados pela Meteorologia tem repetidamente produzido/reproduzido conteúdos na internet/radio, entre outras mídias, relacionados a práticas atribuídas apenas a Meteorologistas e em alguns relatos estas práticas são remuneradas ($$$). E isto obviamente tem incomodado a comunidade de Meteorologia e seus representantes.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;O&lt;/span&gt; que sabemos sobre o Exercício Ilegal da Profissão?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;S&lt;/span&gt;egundo a Seção III do Capítulo 1 da &lt;a href=&quot;http://www.planalto.gov.br/ccivil_03/leis/L5194.htm&quot; target=&quot;_blank&quot;&gt;LEI Nº 5.194&lt;/a&gt;, DE 24 DEZ 1966, que trata do Exercício Profissional da Engenharia, da Arquitetura e da Agronomia:&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;Art. 6º - Exerce ilegalmente a profissão de engenheiro, arquiteto ou engenheiro-agrônomo:&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;a) a pessoa física ou jurídica que realizar atos ou prestar serviços, públicos ou privados, reservados aos profissionais de que trata esta Lei e que não possua registro nos Conselhos Regionais:&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;b) o profissional que se incumbir de atividades estranhas às atribuições discriminadas em seu registro;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;c) o profissional que emprestar seu nome a pessoas, firmas, organizações ou empresas executoras de obras e serviços sem sua real participação nos trabalhos delas;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;d) o profissional que, suspenso de seu exercício, continue em atividade;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;e) a firma, organização ou sociedade que, na qualidade de pessoa jurídica, exercer atribuições reservadas aos profissionais da Engenharia, da Arquitetura e da Agronomia, com infringência do disposto no parágrafo único do Art. 8º desta Lei.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;&lt;span style=&quot;font-size: large;&quot;&gt;ortanto, quem faz previsão do tempo e do clima sem registro no CREA exerce ilegalmente a Profissão de Meteorologista!&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;Q&lt;/span&gt;ual a função do Conselho Regional de Engenharia e Agronomia (CREA)?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;A principal função do CREA é verificar, orientar e fiscalizar os exercícios profissionais com o objetivo de defender a sociedade das práticas ilegais dos ofícios que são abrangidos pelo sistema CONFEA/CREA. Além de promover a valorização profissional e garantir a primazia dos exercícios das atividades profissionais.&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ortanto,&amp;nbsp;de maneira simplificada&amp;nbsp;o CONFEA/CREA protege a sociedade das práticas ilegais dos profissionais que são filiados aos conselhos &lt;b&gt;e não o contrário&lt;/b&gt;.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;M&lt;/span&gt;as e o Exercício Ilegal da Profissão?&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;B&lt;/span&gt;om, quando a obra não conta com responsável técnico, ou quando o &quot;responsável técnico&quot; identificado é um leigo, o CREA constata a irregularidade, procede à lavratura da Notificação e, quando necessário, do Auto de Infração. Quando este Auto não é atendido dentro das exigências da Lei, o CREA gera um processo administrativo, conforme a tipificação pertinente à atividade e/ou irregularidade encontrada.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;xercer Ilegalmente uma Profissão não é crime? Ninguém vai preso?&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;S&lt;/span&gt;egundo o artigo &lt;a href=&quot;http://presrepublica.jusbrasil.com.br/legislacao/91614/codigo-penal-decreto-lei-2848-40#art-282&quot; target=&quot;_blank&quot;&gt;282 do Código Penal&lt;/a&gt; da legislação brasileira somente médicos, dentistas e farmacêuticos cometem um crime ao exercer ilegalmente a profissão. Para todas as outras profissões, o exercício ilegal é apenas uma contravenção penal. E segundo o &lt;a href=&quot;http://www.planalto.gov.br/ccivil_03/decreto-lei/Del3688.htm&quot; target=&quot;_blank&quot;&gt;artigo 47 do decreto-lei 3.688 de 1941&lt;/a&gt; que trata de contravenções a pena para esta prática é de prisão simples, de 15 dias a três meses, ou multa. Porém, existe um agravante. Se você provocar um dano material ou físico existe neste caso outro delito.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;P&lt;/span&gt;ortanto, o exercício ilegal da profissão é uma contravenção penal e precisa ser denunciada ao CREA e os conselhos regionais precisam colocar em prática uma das suas obrigações que é a de fiscalizar e autuar as pessoas que exercem estas práticas.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;span style=&quot;font-size: x-large;&quot;&gt;A&lt;/span&gt; comunidade Meteorológica pode e deve fortalecer e utilizar a Sociedade Brasileira de Meteorologia (SBMET) para promover debates/reuniões que possibilitem aumentar o conhecimento dos profissionais de Meteorologia sobre as legislações que regem a profissão do Meteorologista para que desta forma todos possam cobrar os conselhos regionais que fiscalizem e principalmente que analisem as denuncias feita sobre o tema. Ressaltando que a SBMET não é uma instituição com poder de Polícia ou um orgão regulador, mas uma SBMET bem representada e participativa dará coro as opiniões da comunidade Meteorológica e assim poderá cobrar aos CREAs uma fiscalização e apuração dos casos de Exercício Ilegal da Profissão de Meteorologista.&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;i&gt;&lt;b&gt;&lt;span style=&quot;font-size: x-large;&quot;&gt;E&lt;/span&gt;ste artigo não encerra a discussão é apenas o inicio e eu gostaria de saber oque você acha, por isso convido-o a comentar.&lt;/b&gt;&lt;/i&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: justify;&quot;&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/1985134271101880330/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/o-exercicio-ilegal-da-profissao-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/1985134271101880330'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/1985134271101880330'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/o-exercicio-ilegal-da-profissao-de.html' title='O Exercício Ilegal da Profissão de Meteorologista'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg7MTzV58cF2BtdJCETkpIYJERfvzNhsHiZ8zzgxyAlMfuTpsoeRZS13G1Tn0hYmNIIjNNuMNtEYfKnVb6-XeEyq0zWfFd1ArG0RyloSN4V9_ppIS5rIdLTXNEy6xQ0ARXP-AH-155ffek3/s72-c/ClimateChangeCOnferences.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-4536154556367634781</id><published>2016-03-03T09:45:00.000-03:00</published><updated>2016-03-03T09:45:03.286-03:00</updated><title type='text'>Interpolando dados do CMIP5 com CDO</title><content type='html'>Os arquivos de saída dos modelos globais pertencentes ao CMIP5 são extremamente diferentes entre si, além disso possui algumas peculiaridades que necessitam alguns detalhes na hora de interpolar estes dados.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
O exemplo a seguir é baseado no arquivo de pressão atmosférica do Modelo &lt;a href=&quot;https://verc.enes.org/models/earthsystem-models/metoffice-hadley-centre/hadgem2-es&quot; target=&quot;_blank&quot;&gt;HadGEM2&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
A primeira coisa a fazer é descobrir quantas e quais variáveis existem em cada arquivo. Para isto utilize o seguinte comando:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;gt; &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/cdo&quot; target=&quot;_blank&quot;&gt;cdo&lt;/a&gt; &lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/index.html#x1-400002.1.2&quot; target=&quot;_blank&quot;&gt;sinfon&lt;/a&gt; arquivo.nc&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Teremos como resposta algo como:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;File format: netCDF4 ZIP&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; -1 : Institut &amp;nbsp; &amp;nbsp; Source &amp;nbsp;Ttype &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Levels &amp;nbsp;Num &amp;nbsp;Gridsize Num Dtype : Parameter name&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;1 : unknown &amp;nbsp;HadGEM2-ES constant &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; &amp;nbsp; 27840 &amp;nbsp; &amp;nbsp; &amp;nbsp;1 &amp;nbsp; &amp;nbsp; F32z &amp;nbsp;: &amp;nbsp; orog &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2 : unknown &amp;nbsp;HadGEM2-ES constant &amp;nbsp; &amp;nbsp; 38 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp; 2 &amp;nbsp; &amp;nbsp; F64z &amp;nbsp;: &amp;nbsp; b_bnds &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;3 : unknown &amp;nbsp;HadGEM2-ES instant &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;38 &amp;nbsp; &amp;nbsp; &amp;nbsp;2 &amp;nbsp; &amp;nbsp; &amp;nbsp;27840 &amp;nbsp; &amp;nbsp; &amp;nbsp; 1 &amp;nbsp; &amp;nbsp; F32z &amp;nbsp;: &amp;nbsp; hus &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp;Grid coordinates :&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;1 : lonlat &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;gt; size &amp;nbsp; &amp;nbsp; &amp;nbsp;: dim = 27840 &amp;nbsp;nx = 192 &amp;nbsp;ny = 145&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lon &amp;nbsp; &amp;nbsp; &amp;nbsp; : first = 0 &amp;nbsp;last = 358.125 &amp;nbsp;inc = 1.875 &amp;nbsp;degrees_east &amp;nbsp;circular&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; lat &amp;nbsp; &amp;nbsp; &amp;nbsp; : first = -90 &amp;nbsp;last = 90 &amp;nbsp;inc = 1.25 &amp;nbsp;degrees_north&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; available : xbounds ybounds&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp;2 : generic &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;gt; size &amp;nbsp; &amp;nbsp; &amp;nbsp;: dim = 2 &amp;nbsp;nx = 2 &amp;nbsp;ny = 0&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Observe que temos três variáveis (orog, b_bnds e hus) com tamanhos diferentes, sendo que a variável b_bnds é uma variável de formato genérico (generic grid), ou seja, o cdo não consegue identificar as coordenadas geográfica da grade desta variável. Escolha a variável que você deseja interpolar, no nosso exemplo hus, e proceda da seguinte forma:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&amp;gt; &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/cdo&quot; target=&quot;_blank&quot;&gt;cdo&lt;/a&gt; &lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/index.html#x1-5380002.12.1&quot; target=&quot;_blank&quot;&gt;remapbil&lt;/a&gt;,r480x241 -&lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/index.html#x1-1260002.3.2&quot; target=&quot;_blank&quot;&gt;selname&lt;/a&gt;,hus arquivo.nc output.nc&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
PS. Esta dica serve também para arquivos de reanálise que possuem mais de uma variável, por exemplo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Boa Sorte e Bom Trabalho a Todos!!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/4536154556367634781/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/interpolando-dados-do-cmip5-com-cdo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4536154556367634781'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4536154556367634781'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2016/03/interpolando-dados-do-cmip5-com-cdo.html' title='Interpolando dados do CMIP5 com CDO'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-3287548851727075465</id><published>2015-08-24T13:50:00.000-03:00</published><updated>2015-08-24T17:18:14.467-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Biblioteca"/><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>GrADS Preenchimento</title><content type='html'>Olá a todos,&lt;br /&gt;
&lt;br /&gt;
Para usuário do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt;-2.1 é possível plotar um gráfico em que um determinado intervalo de dados pode ser destacado (hachurado) e isto se tornou possível graças a biblioteca gráfica chamada de &lt;a href=&quot;http://www.cairographics.org/&quot; target=&quot;_blank&quot;&gt;Cairo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
A utilização desta biblioteca está bem documentada em alguns sites na internet, mas a pedidos segue um dica simples de como utilizar o comando &#39;set tile&#39; para destacar um determinado intervalo dos dados. Isto pode ser útil para quem deseja destacar os dados estatisticamente significativo.&lt;br /&gt;
&lt;br /&gt;
A ideia do comando &quot;tile&quot; é desenhar pequenas imagens para cobrir uma determinada área. O &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; na versão 2.1 suporta a utilização do comando &quot;tile&quot; automaticamente, versões anteriores não possuem suporte.&lt;br /&gt;
&lt;br /&gt;
Segue a descrição do comando:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&#39;set tile nu tipo largura altura llargura fcor bcor&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
onde:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;nu&lt;/span&gt;&lt;/b&gt; é o número do tile que pode variar de 0 até 2000;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;tipo&lt;/span&gt;&lt;/b&gt; é o tipo do tile que você quer utilizar; pode variar de 0 a 8 e ao escolher o 0 significa que você irá utilizar um arquivo com os tile (externo);&lt;br /&gt;
&lt;br /&gt;
1 - sólido ;&lt;br /&gt;
2 - pontos ;&lt;br /&gt;
3 - linhas diagonais esquerda \\\\\\ ;&lt;br /&gt;
4 - linhas diagonais direita ////// ;&lt;br /&gt;
5 - linhas diagonais esquerda sobrepostas diagonais direita;&lt;br /&gt;
6 - linhas verticais ;&lt;br /&gt;
7 - linhas horizontais ;&lt;br /&gt;
8 - linhas horizontais sobrepostas as linhas verticais.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;largura&lt;/span&gt;&lt;/b&gt; é a largura do &quot;tile&quot; gerada em pixels. O padrão é 9.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;altura&lt;/span&gt;&lt;/b&gt; é a altura do &quot;tile&quot; gerada em pixels. O padrão é 9.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;llargura&lt;/span&gt;&lt;/b&gt; é a espessura da linha utilizada para desenhar a linha especificada na imagem.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;fcor&lt;/span&gt;&lt;/b&gt; é a cor usada para desenhar a linha&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;bcor&lt;/span&gt;&lt;/b&gt; é a cor do fundo utilizada para encher o fundo da imagem.&lt;br /&gt;
&lt;br /&gt;
Para os &quot;tile&quot; gerados, uma pequena imagem é criada usando a largura e altura especificada, e, em seguida, ou é preenchido com uma cor sólida, ou é preenchido com a cor de fundo e, em seguida, uma ou duas linhas são desenhadas na imagem usando a cor do primeiro plano e a espessura da linha especificada. Note que as linhas são desenhadas de canto a canto (para linhas diagonais) ou no centro da imagem (diagonal / ou diagonal \ ). Assim, o tamanho da imagem, controlado pelos comando de &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;largura&lt;/span&gt;&lt;/b&gt; e &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;altura&lt;/span&gt;&lt;/b&gt;, vai controlar o espaçamento das linhas para o padrão final, e a relação de aspecto da imagem vai controlar o ângulo das linhas. Uma imagem pequena resultará em linhas espaçadas de forma mais estreita no padrão final, e uma imagem maior irá resultar num padrão mais espaçados.&lt;br /&gt;
&lt;br /&gt;
Note que a espessura padrão é 3, a cor de primeiro plano padrão é o número de cores 1, e a cor de fundo padrão é um preto totalmente transparente (vermelho=0, verde=0, azul=0, alfa=0).&lt;br /&gt;
&lt;br /&gt;
O &quot;tile&quot; será descrito como uma combinação do comando &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set tile&#39;&lt;/span&gt;&lt;/b&gt; e &lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb&#39;&lt;/span&gt;&lt;/b&gt; para definir as cores do primeiro plano e do fundo. Eles podem ser definidos em qualquer ordem, mas deve ser definido antes de qualquer desenho (display) feito na página atual.&lt;br /&gt;
&lt;br /&gt;
Para utilizar um padrão de cores (rgb) ao &quot;tile&quot; que foi criado o comando é o seguinte:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb cc tile nu&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
onde:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;cc&lt;/span&gt;&lt;/b&gt; é o número do RGB criado;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;nu&lt;/span&gt;&lt;/b&gt; é o número do tile.&lt;br /&gt;
&lt;br /&gt;
Ao utilizar um padrão de cores a um &quot;tile&quot; criado não poderá ser utilizado a outro &quot;tile&quot;.&lt;br /&gt;
&lt;br /&gt;
Exemplo de utilização:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;reinit&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;sdfopen uwnd.mon.mean.nc&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set display color white&#39;;&#39;c&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set grads off&#39;;&#39;set grid off&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;i = 60&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;n = 60&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;cmd = &#39;set rbcols&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;while (i&amp;lt;256)&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &#39;set rgb &#39;n&#39; &#39;i&#39; &#39;i&#39; &#39;i&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; cmd = cmd%&#39; &#39;%n&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; i = i + 15&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; n = n + 1&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;endwhile&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;cmd&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;* definindo duas cores&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 20 255 0 0&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 21 0 0 255&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;* definindo dois &quot;tile&quot;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set tile 0 2 6 6 3 20&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set tile 1 2 6 6 3 21&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 22 tile 0&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 23 tile 1&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout shaded&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;* Desenhando pontilhados azuis e vermelhos para valores de vento superiores a 5 e inferiores a 5.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set clevs 5&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set ccols -1 22&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set clevs -5&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set ccols 23 -1&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwWu2S9pshxWjzSZzpOGvDVrpOykuM_CeEZvM3fRqHMdoKNqcZhxc14g62DBUvx7pZ2mFpQb2TowNKK1uU0qvBQXUMRUBgCTRSYV4pLX3tNygYs8S-x6HP7_0XHHvXeSgOtFGPGvW0MEkV/s1600/hachurado.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwWu2S9pshxWjzSZzpOGvDVrpOykuM_CeEZvM3fRqHMdoKNqcZhxc14g62DBUvx7pZ2mFpQb2TowNKK1uU0qvBQXUMRUBgCTRSYV4pLX3tNygYs8S-x6HP7_0XHHvXeSgOtFGPGvW0MEkV/s320/hachurado.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Exemplo e:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;reinit&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;sdfopen uwnd.mon.mean.nc&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set display color white&#39;;&#39;c&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set grads off&#39;;&#39;set grid off&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set tile 20 8 5 5 2 0&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 30 tile 20&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout shaded&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;cbar&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set clevs 5&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set ccols -1 30&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set clevs -5&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set ccols 30 -1&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;d uwnd&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8b49nd0oq2OL99n0bcqReQbJud_wOSz5481GrDuZat5qP63-UjkRerXitXLCAMDi95QHIKisQf8lich-tOToA3-xHRrJTghRV0f-B2I5JlHzPePA6HXTEku0TX9jAHUrniz0uTeMODcJK/s1600/hachurado2.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi8b49nd0oq2OL99n0bcqReQbJud_wOSz5481GrDuZat5qP63-UjkRerXitXLCAMDi95QHIKisQf8lich-tOToA3-xHRrJTghRV0f-B2I5JlHzPePA6HXTEku0TX9jAHUrniz0uTeMODcJK/s320/hachurado2.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Abaixo segue um exemplo que mostra uma série de padrões diferentes. As especificações do comando &#39;tile&#39; que foi usado para criar o padrão é mostrado em cada quadrado (sem os valores de cor). As definições de cor não são mostradas. Os comandos usados para desenhar o último quadrado são mostrados abaixo. Os comandos utilizados para os outros quadrados são semelhantes.&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 36 255 255 0&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 40 255 0 255&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set tile 21 2 9 9 3 40 36 &#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 31 tile 21&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;set line 31&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;draw recf 7 1 9 3 &#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&#39;draw string 8 0.8 set tile 21 2 9 9 3&#39;&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnrE3x5qbG_0SYqJcS_muoXSct2kLDJPx-y7MMASTO3qFZExUu4V6FWWVXYwdioSDookdelVZZl8sDcJ9BBcQaDmpBcUHALMs7o128zgM8b7pVG_bI4VRbIep6GDXzJRLVruszUgA39H0E/s1600/tile.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgnrE3x5qbG_0SYqJcS_muoXSct2kLDJPx-y7MMASTO3qFZExUu4V6FWWVXYwdioSDookdelVZZl8sDcJ9BBcQaDmpBcUHALMs7o128zgM8b7pVG_bI4VRbIep6GDXzJRLVruszUgA39H0E/s320/tile.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/3287548851727075465/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/08/grads-preenchimento.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3287548851727075465'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3287548851727075465'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/08/grads-preenchimento.html' title='GrADS Preenchimento'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwWu2S9pshxWjzSZzpOGvDVrpOykuM_CeEZvM3fRqHMdoKNqcZhxc14g62DBUvx7pZ2mFpQb2TowNKK1uU0qvBQXUMRUBgCTRSYV4pLX3tNygYs8S-x6HP7_0XHHvXeSgOtFGPGvW0MEkV/s72-c/hachurado.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-2639039518622799757</id><published>2015-07-20T14:00:00.000-03:00</published><updated>2015-07-22T09:22:17.381-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Compilador"/><category scheme="http://www.blogger.com/atom/ns#" term="Fortran"/><category scheme="http://www.blogger.com/atom/ns#" term="Ifort"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><title type='text'>O ifort voltou a ter versão Grátis/Free</title><content type='html'>&lt;br /&gt;
A intel voltou a disponibilizar uma versão gratuita do seu compilador Fortran &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt;. Depois de um ano sem fornecer uma versão gratuita a intel decidiu por voltar a disponibilizar uma versão free para &lt;a href=&quot;https://software.intel.com/en-us/qualify-for-free-software/academicresearcher&quot; target=&quot;_blank&quot;&gt;Pesquisador&lt;/a&gt;, &lt;a href=&quot;https://software.intel.com/en-us/qualify-for-free-software/student&quot; target=&quot;_blank&quot;&gt;Estudantes&lt;/a&gt;, &lt;a href=&quot;https://software.intel.com/en-us/qualify-for-free-software/educator&quot; target=&quot;_blank&quot;&gt;Professores&lt;/a&gt; e &lt;a href=&quot;https://software.intel.com/en-us/qualify-for-free-software/educator&quot; target=&quot;_blank&quot;&gt;Desenvolvedores de Código Aberto&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Algumas mudanças aconteceram como por exemplo:&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;Não haverá mais uma versão para sistemas 32 bits.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Os Sistemas de derivação Linux suportados são:&lt;/li&gt;
&lt;/ul&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Debian* 6.0, 7.0&lt;br /&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Fedora* 20, 21&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Red Hat Enterprise Linux* 5.0, 6.0, 7.0&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SUSE Linux Enterprise Server* 11, 12&lt;/div&gt;
&lt;div&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Ubuntu* 12.04 LTS, 14.04 LTS&lt;/div&gt;
&lt;div&gt;
&lt;ul&gt;
&lt;li&gt;Minimo de 2Gb de memória RAM&lt;/li&gt;
&lt;li&gt;100Gb de espaço em HD livre, durante a instalação o software chega a ocupar 12Gb.&lt;/li&gt;
&lt;li&gt;...&lt;/li&gt;
&lt;/ul&gt;
Para baixar o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; é só seguir este &lt;a href=&quot;https://software.intel.com/en-us/qualify-for-free-software&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt;. Em breve pretendo criar um tutorial mostrando como instalar e as possíveis novidades do software.&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/2639039518622799757/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/07/o-ifort-voltou-ter-versao-gratis.html#comment-form' title='3 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2639039518622799757'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2639039518622799757'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/07/o-ifort-voltou-ter-versao-gratis.html' title='O ifort voltou a ter versão Grátis/Free'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-7311276640526740715</id><published>2015-06-22T12:00:00.000-03:00</published><updated>2015-07-22T09:23:27.375-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Plot TSM, Gelo Marinho e Cobertura de Neve - GrADS</title><content type='html'>&lt;br /&gt;
Você dificilmente vai fazer uma determinada figura se você não precisa dela. Recentemente eu precisei plotar a cobertura de Gelo Marinho a partir de dados de TSM. Vasculhando a internet encontrei um exemplo de um plot bem legal:&lt;br /&gt;
&lt;br /&gt;
Os dados utilizados neste exemplo são do GFS e para ler os dados mais recentes eu irei utilizar o exemplo mostrado aqui no blog no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2015/06/obtendo-saida-do-comando-shel-grads.html&quot; target=&quot;_blank&quot;&gt;post anterior&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Para que este script funcione perfeitamente é necessário ter as seguinte funções do &lt;a href=&quot;http://kodama.fubuki.info/wiki/wiki.cgi?lang=en&quot; target=&quot;_blank&quot;&gt;Kodama&lt;/a&gt; em sua maquina: &lt;a href=&quot;http://kodama.fubuki.info/wiki/wiki.cgi/GrADS/script/color.gs?lang=en&quot; target=&quot;_blank&quot;&gt;color.gs&lt;/a&gt;, &lt;a href=&quot;http://kodama.fubuki.info/wiki/wiki.cgi/GrADS/script/xcbar.gs?lang=en&quot; target=&quot;_blank&quot;&gt;xcbar.gs&lt;/a&gt; e &lt;a href=&quot;https://www.dropbox.com/s/8lv6kjipinukbew/colormaps.gs&quot; target=&quot;_blank&quot;&gt;colormap.gs&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Os primeiros comandos irão pegar a informação de data no sistema e abrir os dados de TSM e Gelo do GFS com resolução 0.25.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;reinit&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;! date +%Y%m%d &amp;gt; date.txt&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;date=read(&#39;date.txt&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;vardate=sublin(date,2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;arqgfs=&#39;http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/gfs&#39;vardate&#39;/gfs_0p25_00z&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;arqgelo=&#39;http://nomads.ncep.noaa.gov:9090/dods/ice/ice&#39;vardate&#39;/ice.00z&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;sdfopen &#39;arqgfs&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;sdfopen &#39;arqgelo&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;!rm date.txt&#39;&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Com os dados lidos iremos &quot;setar&quot; algumas funções para plotar os dados utilizando a projeção &lt;a href=&quot;http://www.iges.org/grads/gadoc/gradcomdsetmproj.html&quot; target=&quot;_blank&quot;&gt;robinson&lt;/a&gt;.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout shaded&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set mpdset hires&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set lon -180 180&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set lat -90 90&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set grads off&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set map 0 1 6&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set mproj robinson&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;colormaps -l 272 307 0.5 -map jet&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d tmpsfc&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;xcbar -fs 4&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Após estes comandos o plot exibido é&amp;nbsp;+/- assim:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0LrsLe9VESX4EgZAw7zVS3qSnGL6a-m60hGtw3527nGky-3DM92bHsdU9M4lw_Tz0i3sIVMKa6OLLd8tMxFyAEDahd9eAnGYgt502Txx6yWY-hZEMHAMbwuq2hepbH30bw2LTKKPzJb4B/s1600/figura1.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0LrsLe9VESX4EgZAw7zVS3qSnGL6a-m60hGtw3527nGky-3DM92bHsdU9M4lw_Tz0i3sIVMKa6OLLd8tMxFyAEDahd9eAnGYgt502Txx6yWY-hZEMHAMbwuq2hepbH30bw2LTKKPzJb4B/s320/figura1.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Agora iremos criar uma mascara para os continentes:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set rgb 73 80 80 80&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;basemap L 73 0 M&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
O que geramos a partir destes comandos é algo assim:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN3bPKKoSb_vngZmD5bzU_C-opsKluid8UU5dEGrOD3teoHEjOj0xcZiAqxXhDbiUx0fvi41eow-RupQLqOm4clEWXiOGjIn32Wx_omDdb1PmZLYTQhOqEnO1SkmSgYIYaIb09OsS3cUkP/s1600/figura2.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiN3bPKKoSb_vngZmD5bzU_C-opsKluid8UU5dEGrOD3teoHEjOj0xcZiAqxXhDbiUx0fvi41eow-RupQLqOm4clEWXiOGjIn32Wx_omDdb1PmZLYTQhOqEnO1SkmSgYIYaIb09OsS3cUkP/s320/figura2.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;
Em seguida iremos plotar o Gelo Marinho, para isto utilizamos os comandos:&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout shaded&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set dfile 2&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set z 1&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set t 1&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set map 0 1 6&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;color 0 0.6 0.1 -kind dimgray-&amp;gt;seashell-&amp;gt;white&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d maskout(icecmsl,icecmsl-0.05)&#39;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
O que iremos obter é o seguinte plot:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsg1aHholU45XgFZNhc07DlobsbKt_TvEpG-IiyYF5PvO704oTUFhK9xV3w_YFZrzb4o4bF7sjo-OCzczA8S7JTR76c_G1cLNs7dEwG09hS8sy1PnwTNE0wip5vFawrXZWKUlX9A02_P9e/s1600/figura3.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgsg1aHholU45XgFZNhc07DlobsbKt_TvEpG-IiyYF5PvO704oTUFhK9xV3w_YFZrzb4o4bF7sjo-OCzczA8S7JTR76c_G1cLNs7dEwG09hS8sy1PnwTNE0wip5vFawrXZWKUlX9A02_P9e/s320/figura3.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Por último iremos plotar a Cobertura de Neve e os últimos comandos do script são os seguintes:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set dfile 1&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;color 5 100 5 -kind dimgray-&amp;gt;seashell-&amp;gt;white&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set z 1&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set t 1&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set map 0 1 6&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d maskout(weasdsfc,weasdsfc-5)&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
E a última figura exibida tem o seguinte formato:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr-ZQ2mwuYEcddCEigds5EhMSm1kHs5VmqTgvs2EQ8lpBuaMQ6x83CSJgLYEVwVnF-PuW1nBQ7wenO4Q1nqW8FmxIblpkiHt-kcwzAtjtPna7FSvJNZvFvlSbFNeUi-k6jDyGoF9QtqDAs/s1600/figura4.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;247&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgr-ZQ2mwuYEcddCEigds5EhMSm1kHs5VmqTgvs2EQ8lpBuaMQ6x83CSJgLYEVwVnF-PuW1nBQ7wenO4Q1nqW8FmxIblpkiHt-kcwzAtjtPna7FSvJNZvFvlSbFNeUi-k6jDyGoF9QtqDAs/s320/figura4.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Espero que seja útil para vocês.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Boa Sorte e Bom trabalho a Todos!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/7311276640526740715/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/plot-tsm-gelo-marinho-e-cobertura-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/7311276640526740715'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/7311276640526740715'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/plot-tsm-gelo-marinho-e-cobertura-de.html' title='Plot TSM, Gelo Marinho e Cobertura de Neve - GrADS'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj0LrsLe9VESX4EgZAw7zVS3qSnGL6a-m60hGtw3527nGky-3DM92bHsdU9M4lw_Tz0i3sIVMKa6OLLd8tMxFyAEDahd9eAnGYgt502Txx6yWY-hZEMHAMbwuq2hepbH30bw2LTKKPzJb4B/s72-c/figura1.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-5722481240495056474</id><published>2015-06-15T12:00:00.000-03:00</published><updated>2015-06-15T12:00:06.309-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Ensino"/><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Obtendo a saída do comando Shel - GrADS</title><content type='html'>&lt;br /&gt;
Olá a Todos,&lt;br /&gt;
&lt;br /&gt;
Algumas pessoas utilizam o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; para ler os dados do GFS direto no &lt;a href=&quot;http://nomads.ncep.noaa.gov:9090/dods/&quot; target=&quot;_blank&quot;&gt;GrADS Data Server&lt;/a&gt;. Em alguns casos pode ser necessário executar um&amp;nbsp;&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; operacionalmente para efetuar esta tarefa. Um problema que pode existir para ler este tipo de dado (&lt;a href=&quot;http://nomads.ncep.noaa.gov:9090/dods/&quot; target=&quot;_blank&quot;&gt;GrADS Data Server&lt;/a&gt;) operacionalmente é que por ser um dado de modelo os nomes dos arquivos mudam constantemente e torna-se necessário criar uma variável &lt;b&gt;data&lt;/b&gt; para atualizar o nome do dado e efetuar a leitura corretamente.&lt;br /&gt;
&lt;br /&gt;
Por exemplo:&lt;br /&gt;
&lt;br /&gt;
Se você deseja ler o dado do&amp;nbsp;&lt;span style=&quot;background-color: white;&quot;&gt;GFS 0.25 deg starting from 00Z07jun2015 a url é a seguinte:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/gfs&lt;b&gt;20150607&lt;/b&gt;/gfs_0p25_00z&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Observe que um dos diretórios onde está armazenado o dado contém a data (em negrito) em que o dado foi gerado ou o modelo foi rodado. Para gerar esta data automaticamente você pode criar um &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;SHELL&lt;/a&gt; e utilizar o comando &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2012/06/durante-o-desenvolvimento-de-alguns.html&quot; target=&quot;_blank&quot;&gt;date&lt;/a&gt;&lt;/b&gt;&lt;/span&gt; e resolver este problema, mas você pode utilizar o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; e resolver este problema diretamente no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; .gs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;Para isso você pode utilizar o comando &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2012/06/durante-o-desenvolvimento-de-alguns.html&quot; target=&quot;_blank&quot;&gt;date&lt;/a&gt;&lt;/b&gt;&lt;/span&gt; no próprio &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; .gs . O &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; fica assim:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;background-color: white; color: blue;&quot;&gt;&lt;b&gt;&#39;reinit&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&#39;! date +%Y%m%d &amp;gt; date.txt&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;date=read(&#39;date.txt&#39;)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;vardate=sublin(date,2)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;*Neste caso vardate=&lt;/b&gt;&lt;b&gt;20150607&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;*Observe que o comando date produz uma data diferente pois busca a data do sistema&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;file=&#39;http://nomads.ncep.noaa.gov:9090/dods/gfs_0p25/gfs&#39;vardate&#39;/gfs_0p25_18z&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&#39;sdfopen &#39;file&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/span&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&#39;!rm date.txt&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Eu não conheço uma outra forma de transformar o comando &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;SHELL&lt;/a&gt; em variável, a única forma que conheço é escrevendo a saída do comando &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;SHELL&lt;/a&gt; em um arquivo e depois ler este arquivo em seguida criando uma variável. Após a leitura do conteúdo do arquivo date.txt eu sugiro remover (&#39;!rm date.txt&#39;) este arquivo para não ocupar espaço.&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
PS: Os dados do GFS são gerados de 6 em 6 horas para criar uma variável para ler os 4 arquivos você pode gerar as variáveis e utilizar um loop (&lt;a href=&quot;http://www.ocgy.ubc.ca/~yzq/books/GrADS/script.html#while&quot; target=&quot;_blank&quot;&gt;WHILE&lt;/a&gt;) para ler cada arquivo.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Boa Sorte e Bom Trabalho a Todos!!&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/5722481240495056474/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/obtendo-saida-do-comando-shel-grads.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5722481240495056474'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5722481240495056474'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/obtendo-saida-do-comando-shel-grads.html' title='Obtendo a saída do comando Shel - GrADS'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-4153360176737928420</id><published>2015-06-08T12:00:00.000-03:00</published><updated>2015-06-08T15:58:17.612-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Ensino"/><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Duas variáveis em um mesmo campo - GrADS</title><content type='html'>&lt;br /&gt;
Olá a todos,&lt;br /&gt;
&lt;i&gt;&lt;br /&gt;&lt;/i&gt;
&lt;i&gt;É importante percebermos que ao criar uma figura que será inserida em um artigo para ser publicado precisamos dedicar um pouco de esforço para fazer uma figura com a maior qualidade possível. Muitas vezes seu artigo será mais lembrado pelas figuras do que pelo conteúdo&lt;/i&gt; (o conteúdo é mais importante, não é isto que esta em discussão).&lt;br /&gt;
&lt;br /&gt;
PS. Dica para quem tem o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot;&gt;GrADS&lt;/a&gt; versão 2.&lt;br /&gt;
&lt;br /&gt;
Esta dica é bastante simples, mas pode ser bastante útil quando se deseja criar figuras com alta qualidade. Existem vários comandos no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; que te possibilitam gerar uma figura com alta qualidade. No entanto, quando plotamos duas variáveis (sobrepostas) no mesmo campo esquecemos que no GrADS a segunda variável apesar de sobreposta é uma segunda figura (com novos eixos, grades e etc) e por isso é importante inibir a plotagem dos labels dos eixos, as linhas que representam as grades e etc desta segunda variável. Ao inibir o plot do label dos eixos por exemplo você mantêm a qualidade da font das Latitudes e Longitudes por exemplo. Para que isso não ocorra use os comandos abaixo sempre antes do display da próxima variável exibida:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;d press&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;set xlab off&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;set ylab off&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;set grid off&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;set mpdraw off&#39;; *(Este comando inibe o plot do contorno dos continentes)&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&amp;nbsp;&#39;d temp&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;*Com o comando &#39;d temp&#39; apenas os dados de temperatura serão plotados em seu campo.

Espero que ajude.&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;Boa Sorte e Bom Trabalho a Todos!!</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/4153360176737928420/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/duas-variaveis-em-um-mesmo-campo-grads.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4153360176737928420'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/4153360176737928420'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/06/duas-variaveis-em-um-mesmo-campo-grads.html' title='Duas variáveis em um mesmo campo - GrADS'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-355889939316767798</id><published>2015-04-30T17:22:00.003-03:00</published><updated>2015-07-22T09:23:51.687-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Grafico"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Imagem de Satelite no Grads</title><content type='html'>Pergunta do Arthur Lucas,&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot;&gt;Olá Cristiano,&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot;&gt;tenho visto em alguns artigos com campos meteorológicos sobrepostos a imagens de Satélites, é possível fazer isso no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt; ?&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot; /&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot;&gt;Obrigado,&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; color: #222222; font-family: arial, sans-serif; font-size: 12.8000001907349px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
É sim possível desde que o dado da imagem de satélite seja disponibilizado no formato que seja possível o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt; ler, por exemplo: Binário, Netcdf e etc.&lt;br /&gt;
&lt;br /&gt;
Alguns Institutos disponibilizam algumas imagens em formato binário. Durante meu doutorado eu utilizei dados de temperatura de brilho e consegui plotar algumas figuras de TB com vento e etc. Segue um exemplo: Eu plotei a temperatura de brilho com o shaded do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt; mas e com um RGB em tons de cinza que fica &quot;quase igual&quot; a uma imagem de satélite.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqef5h8Npfz_opt0aezw2SOGMoVxs0TgS2W2EuML2C_GlvuIij_JQdz3JL_LrT3b_7dilRJLffnY-iev5LXEKQ7l6oI2D_OSwVcPrbA_WuMMm9Wpr1Puvl5DsjGDNQAv81cvwQZRtsrz6M/s1600/satelite_vento_shaded.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqef5h8Npfz_opt0aezw2SOGMoVxs0TgS2W2EuML2C_GlvuIij_JQdz3JL_LrT3b_7dilRJLffnY-iev5LXEKQ7l6oI2D_OSwVcPrbA_WuMMm9Wpr1Puvl5DsjGDNQAv81cvwQZRtsrz6M/s1600/satelite_vento_shaded.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHNNGTy8YM0uHV7qFiEapjNld6jpcLGPGesCzf0R8qDSMmkyj1IdnK97T68nI1PdeE2XbgCTzYMoXy5C-y9Qql-1M4fHnI1ShbV5T-DvCBpyyzp1L699fQgH6lFzR6Duld1_TYe48CHfi2/s1600/satelite_vento.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiHNNGTy8YM0uHV7qFiEapjNld6jpcLGPGesCzf0R8qDSMmkyj1IdnK97T68nI1PdeE2XbgCTzYMoXy5C-y9Qql-1M4fHnI1ShbV5T-DvCBpyyzp1L699fQgH6lFzR6Duld1_TYe48CHfi2/s1600/satelite_vento.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
Abraço e Bom Trabalho a Todos!!&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/355889939316767798/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/imagem-de-satelite-no-grads.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/355889939316767798'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/355889939316767798'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/imagem-de-satelite-no-grads.html' title='Imagem de Satelite no Grads'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqef5h8Npfz_opt0aezw2SOGMoVxs0TgS2W2EuML2C_GlvuIij_JQdz3JL_LrT3b_7dilRJLffnY-iev5LXEKQ7l6oI2D_OSwVcPrbA_WuMMm9Wpr1Puvl5DsjGDNQAv81cvwQZRtsrz6M/s72-c/satelite_vento_shaded.gif" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-3366282660985330801</id><published>2015-04-03T10:00:00.000-03:00</published><updated>2015-04-06T08:03:24.379-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Gerando mascara com o cdo</title><content type='html'>&lt;div&gt;
Ontem eu mostrei aqui como criar uma mascara (maskout) no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt; para plotar vetor vento significativo.&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
O &lt;a href=&quot;https://sites.google.com/site/jgmsantos/&quot; target=&quot;_blank&quot;&gt;Guilherme Martins&lt;/a&gt; sempre que possível contribui com alguma sugestão ou &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt;. Desta vez ele compartilha conosco uma forma de resolver este mesmo problema sendo que com o cdo (Climate Data Operator).&lt;br /&gt;
&lt;br /&gt;
PS: Não deixem de olhar a Apostila do próprio &lt;a href=&quot;https://sites.google.com/site/jgmsantos/&quot; target=&quot;_blank&quot;&gt;Guilherme&lt;/a&gt; sobre &lt;a href=&quot;http://mtc-m21b.sid.inpe.br/col/sid.inpe.br/mtc-m21b/2014/04.14.18.08/doc/publicacao.pdf&quot; target=&quot;_blank&quot;&gt;cdo&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Sem mais delongas, segue:&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Dado para fazer este exemplo:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
u -&amp;gt; &lt;a href=&quot;https://db.tt/Z8dBk92i&quot;&gt;uwnd.nc&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
v -&amp;gt; &lt;a href=&quot;https://db.tt/Q8gf26Jo&quot;&gt;vwnd.nc&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
1) Juntando os arquivos de u e v para calcular a velocidade do vento&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo merge uwnd.nc vwnd.nc uv.nc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
2) Calculando a velocidade do vento&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo expr,&#39;vel=sqrt(uwnd*uwnd+vwnd*vwnd);&#39; uv.nc vel.nc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
3) Criando a máscara. Defino o intervalo da velocidade entre 0 e 4 m/s.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo setrtomiss,0,4 vel.nc mascara.nc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
4) Aplicando a máscara na componente zonal (u) e meridional (v)&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo ifthen mascara.nc uwnd.nc vento.u.nc&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo ifthen mascara.nc vwnd.nc vento.v.nc&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Ao plotar o que obtemos é o seguinte:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS7J5wai0Emom8_vbl8uEJtH9W1SwmABtxdU47z0fp094HMvV5HN2UeEt7c4wA7yKkhSN6EWwW0HJqWNoAnkmzktih2w4xBkKjFVhTGhzWTsMsWVXA0TJAr0HVZLJDoON9S-WQORkSTcOS/s1600/vento.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS7J5wai0Emom8_vbl8uEJtH9W1SwmABtxdU47z0fp094HMvV5HN2UeEt7c4wA7yKkhSN6EWwW0HJqWNoAnkmzktih2w4xBkKjFVhTGhzWTsMsWVXA0TJAr0HVZLJDoON9S-WQORkSTcOS/s1600/vento.jpg&quot; height=&quot;320&quot; width=&quot;275&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/3366282660985330801/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/gerando-mascara-com-o-cdo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3366282660985330801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3366282660985330801'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/gerando-mascara-com-o-cdo.html' title='Gerando mascara com o cdo'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiS7J5wai0Emom8_vbl8uEJtH9W1SwmABtxdU47z0fp094HMvV5HN2UeEt7c4wA7yKkhSN6EWwW0HJqWNoAnkmzktih2w4xBkKjFVhTGhzWTsMsWVXA0TJAr0HVZLJDoON9S-WQORkSTcOS/s72-c/vento.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-6219541151457830451</id><published>2015-04-02T17:09:00.000-03:00</published><updated>2015-04-06T08:04:01.113-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Grads Plot do Vento Significante</title><content type='html'>&lt;br /&gt;
Recentemente precisei plotar somente os vetores de vento no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt; significativos, ou seja, dentro de uma área/região eu necessitava que apenas um determinado limiar de magnitude do vetor vento fosse exibido.&lt;br /&gt;
&lt;br /&gt;
Uma solução para este problema é utilizar uma máscara (maskout) para &quot;mascarar&quot; um determinado limiar de magnitude que você não quer exibir. Portanto, o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; ou parte dele fica mais ou menos assim:&lt;br /&gt;
&lt;br /&gt;
&#39;open /usr/local/opengrads/Resources/SampleDatasets/model.ctl&#39;&lt;br /&gt;
&lt;br /&gt;
&#39;set display color white&#39;&lt;br /&gt;
&#39;c&#39;&lt;br /&gt;
&#39;set lev 850&#39;&lt;br /&gt;
&#39;set t 1&#39;&lt;br /&gt;
&#39;set lon -100 50&#39;&lt;br /&gt;
&#39;set lat 0 50&#39;&lt;br /&gt;
&lt;div&gt;
&lt;br /&gt;
&#39;wind = mag(ua,va)&#39;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;br /&gt;
** Escolha do limiar que se deseja &quot;mascarar&quot;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
limiar_vento = 8&lt;/div&gt;
&lt;div&gt;
&#39;sigu = maskout(ua,wind-&#39;limiar_vento&#39;)&#39;&lt;/div&gt;
&lt;div&gt;
&#39;sigv = maskout(va,wind-&#39;limiar_vento&#39;)&#39;&lt;/div&gt;
&lt;div&gt;
&#39;sigwind = mag(sigu,sigv)&#39;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&#39;set gxout shaded&#39;&lt;/div&gt;
&lt;div&gt;
&#39;d sigwind&#39;&lt;/div&gt;
&lt;div&gt;
&#39;cbar&#39;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&#39;set gxout vector&#39;&lt;/div&gt;
&lt;div&gt;
&#39;d sigu;sigv&#39;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg0kpN2i6yPxpKfD31FHD0heFvFPtKlfE5JaQSNFPT0vECVKYVRW_c_bX7c2KZnGvs9VpBSl5dvvprphRd_oFVwnTi6DyeQqAziOmvgTMZ1thjBan1dok_5pMVtcSA7W_MB4FWyn4faGqT/s1600/ventosignificante.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg0kpN2i6yPxpKfD31FHD0heFvFPtKlfE5JaQSNFPT0vECVKYVRW_c_bX7c2KZnGvs9VpBSl5dvvprphRd_oFVwnTi6DyeQqAziOmvgTMZ1thjBan1dok_5pMVtcSA7W_MB4FWyn4faGqT/s1600/ventosignificante.gif&quot; height=&quot;247&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Este seria o resultado.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/6219541151457830451/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/grads-plot-do-vento-significante.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/6219541151457830451'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/6219541151457830451'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/04/grads-plot-do-vento-significante.html' title='Grads Plot do Vento Significante'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjg0kpN2i6yPxpKfD31FHD0heFvFPtKlfE5JaQSNFPT0vECVKYVRW_c_bX7c2KZnGvs9VpBSl5dvvprphRd_oFVwnTi6DyeQqAziOmvgTMZ1thjBan1dok_5pMVtcSA7W_MB4FWyn4faGqT/s72-c/ventosignificante.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-12833715739552706</id><published>2015-02-18T15:02:00.000-02:00</published><updated>2015-07-22T09:24:24.367-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cdo"/><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Alterando os níveis verticais com CDO</title><content type='html'>&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Sugestão do &lt;a href=&quot;https://sites.google.com/site/jgmsantos/&quot; target=&quot;_blank&quot;&gt;Guilherme Martins&lt;/a&gt;!&lt;/span&gt;&lt;br /&gt;
&lt;div&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;O CDO sempre me surpreendendo!!!!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Alterando os níveis verticais com CDO.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Os níveis verticais dos modelos do CMIP5 estão em &quot;Pa&quot;, e normalmente utilizamos em &quot;hPa&quot;. Vamos usar o operador &quot;setzaxis&quot; para realizar essa alteração.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Carreguei neste tópico o arquivo &quot;exemplo.nc&quot; para vocês fazerem o teste.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Informações vista com &quot;ncdump -h exemplo.nc&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;double plev(plev) ;&lt;br /&gt;plev:bounds = &quot;plev_bnds&quot; ;&lt;br /&gt;plev:units = &quot;Pa&quot; ; &amp;lt;===== unidade do nível vertical&lt;br /&gt;plev:axis = &quot;Z&quot; ;&lt;br /&gt;plev:positive = &quot;down&quot; ;&lt;br /&gt;plev:long_name = &quot;pressure&quot; ;&lt;br /&gt;plev:standard_name = &quot;air_pressure&quot; ;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Informações vista com &quot;ncdump arquivo.nc | more&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;plev = 100000, 85000, 70000, 50000, 25000, 10000, 5000, 1000 ; =&amp;gt; &quot;Pa&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Segue a dica:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Crie um arquivo texto, e adicione as 6 linhas abaixo:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;zaxistype = pressure&lt;br /&gt;size = 8&lt;br /&gt;name = lev&lt;br /&gt;longname = pressure&lt;br /&gt;units = hPa&lt;br /&gt;levels = 1000 850 700 500 250 100 50 10&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Salve com um nome qualquer, por exemplo, &quot;nivel&quot;. Esse arquivo será lido pelo operador &quot;setzaxis&quot;:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Utilize o comando abaixo:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;cdo setzaxis,nivel exemplo.nc saida.nc&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Esse comando altera a estrutura do seu arquivo netCDF com as novas informações em &quot;hPa&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Para visualizar as novas alterações:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;ncdump -h saida.nc&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;Arquivo: &lt;a href=&quot;https://www.facebook.com/download/1414007138894662/exemplo.nc&quot; target=&quot;_blank&quot;&gt;exemplo.nc&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;PS:&amp;nbsp;&lt;span style=&quot;background-color: #f6f7f8; line-height: 15.3599996566772px;&quot;&gt;caso o arquivo tenha dados UNDEF (que é caso), utilize o operador fillmiss ==&amp;gt; cdo -fillmiss -setzaxis,nivel exemplo.nc saida.nc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; line-height: 19.3199996948242px; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;background-color: #f6f7f8; line-height: 15.3599996566772px;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; margin-bottom: 6px; margin-top: 6px;&quot;&gt;
&lt;span style=&quot;background-color: #f6f7f8;&quot;&gt;&lt;span style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 15.3599996566772px;&quot;&gt;Boa Sorte e Bom&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;line-height: 15.3599996566772px;&quot;&gt;Trabalho&lt;/span&gt;&lt;span style=&quot;line-height: 15.3599996566772px;&quot;&gt;&amp;nbsp;a Todos!&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/12833715739552706/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/02/alterando-os-niveis-verticais-com-cdo.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/12833715739552706'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/12833715739552706'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2015/02/alterando-os-niveis-verticais-com-cdo.html' title='Alterando os níveis verticais com CDO'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-7387635025252696540</id><published>2014-10-28T13:15:00.002-02:00</published><updated>2015-07-22T09:24:59.905-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="cdo"/><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>cdo merge levels</title><content type='html'>Olá a Todos,&lt;br /&gt;
&lt;br /&gt;
Recentemente estive tentando usar o comando &lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/1.6.4/cdo.html#x1-820002.2.5&quot; target=&quot;_blank&quot;&gt;merge&lt;/a&gt; do cdo para criar um arquivo com vários níveis. O problema era o seguinte:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;Eu possuo 10 arquivos de vento em formato binário sendo cada arquivo contendo 100 tempos e um nível.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
A primeira coisa que eu fiz foi criar arquivos netcdf a partir dos arquivos descritores .ctl através do comando cdo import_binary -f nc *.ctl. No entanto desta forma o cdo não definia o nível referente ao arquivo e sempre atribuía nível 0 (zero). Com os arquivos criados com a descrição de nível 0 (zero) ao juntar (&lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/1.6.4/cdo.html#x1-820002.2.5&quot; target=&quot;_blank&quot;&gt;merge&lt;/a&gt;) os 10 arquivos o resultado era sempre um arquivo com somente um nível.&lt;br /&gt;
&lt;br /&gt;
Eu não consegui resolver este problema de maneira mais simples o que fiz foi o seguinte:&lt;br /&gt;
&lt;br /&gt;
Utilizei o comando &lt;a href=&quot;http://www.iges.org/grads/gadoc/gradcomdsetsdfwrite.html&quot; target=&quot;_blank&quot;&gt;sdfwrite&lt;/a&gt; do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; para gerar os arquivos netcdf que precisava.&lt;br /&gt;
&lt;br /&gt;
Ex:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set x 1 144&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set y 1 73&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set t 1 100&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set z 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;define uwnd = uwnd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;set sdfwrite -4d arquivo1.nc&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;sdfwrite uwnd&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;quit&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
OBS1: É necessário inserir a função -4d do comando sdfwrite, desta forma você força que o arquivo de saída tenha 4 dimensões (lat, lon, tempo, nível)&lt;br /&gt;
&lt;br /&gt;
OBS2: O nível no arquivo ctl precisa ser definido de maneira correta, por exemplo:&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;span style=&quot;color: blue;&quot;&gt;zdef 1 linear 200 1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; Qualquer definição diferente disso deu errado.&lt;br /&gt;
&lt;br /&gt;
Agora que possuía os 10 arquivos .nc utilizei o &lt;a href=&quot;https://code.zmaw.de/projects/cdo/embedded/1.6.4/cdo.html#x1-820002.2.5&quot; target=&quot;_blank&quot;&gt;merge&lt;/a&gt; para gerar meu arquivo com os 10 níveis e 100 tempos:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;cdo merge arquivo1.nc arquivo2.nc ... arquivo10.nc saida.nc&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!!</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/7387635025252696540/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/cdo-merge-levels.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/7387635025252696540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/7387635025252696540'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/cdo-merge-levels.html' title='cdo merge levels'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-692711376206312103</id><published>2014-10-07T21:30:00.000-03:00</published><updated>2017-06-02T18:01:18.276-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Dado Texto ou ASCII no GrADS</title><content type='html'>&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Olá
Pessoal,
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Através
do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; é possível escrever e ler arquivos textos e em algum
momento isto pode ser de grande utilidade. Recentemente a &lt;b&gt;Giulia de
Salve&lt;/b&gt; me escreveu com uma dúvida exatamente sobre este contexto.
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
O
&lt;a href=&quot;https://sites.google.com/site/jgmsantos/&quot; target=&quot;_blank&quot;&gt;Guilherme Martins&lt;/a&gt; em sua&amp;nbsp;&lt;a href=&quot;http://mtc-m21b.sid.inpe.br/col/sid.inpe.br/mtc-m21b/2014/04.14.17.39/doc/publicacao.pdf&quot; target=&quot;_blank&quot;&gt;Apostila&lt;/a&gt;&amp;nbsp;já colocou um exemplo bem
explicativo&amp;nbsp;e também existe um &lt;a href=&quot;http://www.iges.org/grads/gadoc/ascii.html&quot; target=&quot;_blank&quot;&gt;guia&lt;/a&gt; no site do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; que é mais
explicativo ainda. O que eu vou colocar aqui é exatamente o que esta
na página neste &lt;a href=&quot;http://www.iges.org/grads/gadoc/ascii.html&quot; target=&quot;_blank&quot;&gt;guia&lt;/a&gt; do site&amp;nbsp;&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt;.
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
PS. &lt;b&gt;Eu
irei utilizar como exemplo o arquivo model.ctl para quem possui o
&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; 2 (opengrads) instalado ele fica na pasta
(grads-2.0.1/Contents/Resources/SampleDatasets/).
&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
O &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt;
não possui uma função intrínseca para ler arquivos texto como o
sdfopen, por exemplo, por isso é necessário alguns ajustes para
isso:
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Imagine
que você possua um arquivo texto/ascii (my_ascii_file.txt) que tenha
uma coluna com valores de 1 a 30:
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
1
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
2
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
3
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
4
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
...
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Você
pode transformar este arquivo em um binário e criar um ctl para ler
no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt;.
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;open
model.ctl&#39;
&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;file =
&#39;my_ascii_file.txt&#39;
&lt;/span&gt;&lt;/div&gt;
&lt;pre&gt;&lt;span style=&quot;font-family: &amp;quot;arial&amp;quot; , &amp;quot;helvetica&amp;quot; , sans-serif;&quot;&gt;&lt;span style=&quot;font-size: small;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;datafile = &#39;my_binary_file.dat&#39;
&#39;set gxout fwrite&#39;
&#39;set fwrite -ap &#39;datafile
&#39;!/bin/rm -f &#39;datafile
while (1)
         res = read(file)
         line1 = sublin(res,1)
         line2 = sublin(res,2)
         rc1 = subwrd(line1,1)
         if (rc1); break; endif
              val = subwrd(line2,1)
              &#39;d &#39;val
endwhile
rc = close(file)
&#39;disable fwrite&#39;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
O ctl
para ler o dado gerado (my_binary_file.dat), imaginando que você
queira plotar os dados com relação ao eixo X, ficaria assim:
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;font-family: inherit;&quot;&gt;&lt;span style=&quot;color: blue; font-size: small;&quot;&gt;dset ^my_binary_file.dat&lt;br /&gt;title Sample of ASCII data converted to binary&lt;br /&gt;undef -9.99e8&lt;br /&gt;xdef 100 linear 1 1&lt;br /&gt;ydef 1 linear 1 1&lt;br /&gt;zdef 1 linear 1 1&lt;br /&gt;tdef 1 linear 01jan0001 1dy&lt;br /&gt;vars 1&lt;br /&gt;a 0 99 ascii variable&lt;br /&gt;endvars&lt;/span&gt;&lt;/span&gt;&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Se você
abrir o ctl acima e plotar vai gerar uma figura semelhante a esta:&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRSgsQTN5XiG2mBiVJMq4ksm3vfVvnzTFFyXSEvNxx816cXQ9mx_aaj-bEVy6vHMq8dYe_EK3ZRcB4FBumvEZI7RNkxB_IKrS5Cw-8QS6E9u0yc4-FAs-sb5hFvQ3jvE6JYWwyQxW_FDo/s1600/ascii.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;245&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRSgsQTN5XiG2mBiVJMq4ksm3vfVvnzTFFyXSEvNxx816cXQ9mx_aaj-bEVy6vHMq8dYe_EK3ZRcB4FBumvEZI7RNkxB_IKrS5Cw-8QS6E9u0yc4-FAs-sb5hFvQ3jvE6JYWwyQxW_FDo/s1600/ascii.gif&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Uma outra opção é criar arquivos textos a partir de qualquer dado binário através da função &#39;&lt;a href=&quot;http://www.iges.org/grads/gadoc/gradcomdsetgxout.html&quot; target=&quot;_blank&quot;&gt;set gxout&lt;/a&gt; print&#39;. A formatação desta função pode ser feita através da função &#39;&lt;a href=&quot;http://www.iges.org/grads/gadoc/gradcomdsetprnopts.html&quot; target=&quot;_blank&quot;&gt;set prnopts&lt;/a&gt;&#39;. A saída é plotada no terminal mas pode ser armazenada em uma variável e posteriormente através do script ser escrita em um arquivo. O exemplo a seguir escreve 72 números por linha que representa os 72 pontos de grade em X.&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;open model.ctl&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set x 1 72&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;outfile = my_ascii_file.txt&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout print&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set prnopts %7.3f 72 1&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d ts&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;rc = write(outfile,result)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Desta forma o arquivo my_ascii_file.txt irá conter algo como isso:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
Printing Grid -- 3312 Values -- Undef = -9.99e+08&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
258.493 258.493 258.493 258.493 258.493 258.493 258.493 258.493 258.493 258.493 258.493 &amp;lt;etc.&amp;gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
No caso anterior, observe que a primeira linha do arquivo de saída contem algumas informações sobre o número de valores escritos e valores indefinidos que você pode não querer que seja escrito. O exemplo a seguir omiti essa linha, ou seja, pula a primeira linha de informações de diagnóstico. Além disso neste exemplo a saída será delimitada por vírgulas para importar para uma planilha (excell) por fim a variável apresentada agora é uma expressão em vez de um nome.&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;open model.ctl&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set x 1 72&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;outfile=&#39;my_ascii_file.txt&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;!/bin/rm -f &#39;outfile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set gxout print&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set prnopts %g, 72 0&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d ts-273.15&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;i=1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;while (1)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; line =
sublin(result,i)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;if (line = &#39;&#39;);
break; endif&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;if (i&amp;gt;1)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;rc =
write(outfile,line,append)&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;endif&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;i=i+1&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;endwhile&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Neste caso o arquivo my_ascii_file.txt conterá algo como:&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
-14.6567,-14.6567,-14.6567,-14.6567,-14.6567,-14.6567,-14.6567,-14.6567,-14.6567,&amp;lt;etc.&amp;gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Obs. &lt;b&gt;A função append serve para inserir os dados no final do arquivo caso ele exista. Se você não&amp;nbsp;utilizar&amp;nbsp;a função append e existir um arquivo de mesmo nome ele será sobrescrito. Para mais informações leia &quot;&lt;a href=&quot;http://www.iges.org/grads/gadoc/script.html&quot; target=&quot;_blank&quot;&gt;append&lt;/a&gt;&quot;.&lt;/b&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Por fim é
possível escrever informações sobre a grade (lat x lon) além dos
dados de mais de uma variável, para isso é necessário salvar o
resultado da exibição de cada variável/expressão (incluindo
longitude e latitude), para cada ponto de grade individualmente,
organizar a estrutura que será escrito no arquivo texto de saída e
depois escrevê-lo. Neste exemplo será escrito a longitude,
latitude, temperatura da superfície, pressão de superfície e
precipitação:&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;open model.ctl&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set x 1
72&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;outfile=&#39;my_ascii_file.txt&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;!/bin/rm
-f &#39;outfile&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set
gxout print&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;fmt=&#39;%8.3f&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;numcols=72&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;set
prnopts &#39;fmt&#39; &#39;numcols&#39; 1&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d lon&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;lon_data
= result&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d lat&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;lat_data
= result&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d ts&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;v1_data =
result&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d ps&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;v2_data =
result&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&#39;d p&#39;&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;v3_data =
result&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;i=1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;while (1)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; lons  =
sublin(lon_data,i)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;lats  =
sublin(lat_data,i)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;line1 =
sublin(v1_data,i)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;line2 =
sublin(v2_data,i)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;line3 =
sublin(v3_data,i)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;if
(lons=&#39;&#39; | lats=&#39;&#39; | line1=&#39;&#39; | line2=&#39;&#39; | line3=&#39;&#39;); break; endif&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;if
(i&amp;gt;1)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;j=1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;while
(j&amp;lt;=numcols)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;str
= subwrd(lons,j); lon = math_format(fmt,str)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;str
= subwrd(lats,j); lat = math_format(fmt,str)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;str
= subwrd(line1,j); v1 = math_format(fmt,str)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;str
= subwrd(line2,j); v2 = math_format(fmt,str)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;str
= subwrd(line3,j); v3 = math_format(fmt,str)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;record = lon&#39; &#39;lat&#39; &#39;v1&#39; &#39;v2&#39; &#39;v3&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;rc
= write(outfile,record,append)&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;j=j+1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;endwhile&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;endif&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;  i=i+1&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;color: blue;&quot;&gt;endwhile&lt;/span&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;span style=&quot;text-align: start;&quot;&gt;Obs.&amp;nbsp;&lt;/span&gt;&lt;b style=&quot;text-align: start;&quot;&gt;A função append serve para inserir os dados no final do arquivo caso ele exista. Se você não&amp;nbsp;utilizar&amp;nbsp;a função append e existir um arquivo de mesmo nome ele será sobrescrito. Para mais informações leia &quot;&lt;a href=&quot;http://www.iges.org/grads/gadoc/script.html&quot; target=&quot;_blank&quot;&gt;append&lt;/a&gt;&quot;.&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;b style=&quot;text-align: start;&quot;&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Neste caso a saída my_ascii_file.txt apresentará a seguinte estrutura:&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
0.000 &amp;nbsp; &amp;nbsp; -90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
5.000&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
10.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
15.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
20.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
25.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
30.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
35.000&amp;nbsp;&amp;nbsp;&amp;nbsp;-90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
40.000 &amp;nbsp; -90.000 &amp;nbsp;&amp;nbsp; &amp;nbsp;258.493 &amp;nbsp;&amp;nbsp; &amp;nbsp;669.911 &amp;nbsp;&amp;nbsp; &amp;nbsp;0.000&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
A um tempo atrás coloquei a disposição uma função que ajuda a escrever um arquivo texto sem muitas complicações. No entanto o arquivo de&amp;nbsp;saída&amp;nbsp;não possui formatação, veja &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2013/10/salvando-arquivo-texto-no-grads.html&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div align=&quot;JUSTIFY&quot; class=&quot;western&quot; style=&quot;margin-bottom: 0cm;&quot;&gt;
Cristiano&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/692711376206312103/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/dado-texto-ou-ascii-no-grads.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/692711376206312103'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/692711376206312103'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/dado-texto-ou-ascii-no-grads.html' title='Dado Texto ou ASCII no GrADS'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiRSgsQTN5XiG2mBiVJMq4ksm3vfVvnzTFFyXSEvNxx816cXQ9mx_aaj-bEVy6vHMq8dYe_EK3ZRcB4FBumvEZI7RNkxB_IKrS5Cw-8QS6E9u0yc4-FAs-sb5hFvQ3jvE6JYWwyQxW_FDo/s72-c/ascii.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-8692348022825107051</id><published>2014-10-02T17:32:00.000-03:00</published><updated>2015-03-27T15:02:11.583-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Terminator: Dividindo seu terminal em várias janelas</title><content type='html'>&lt;br /&gt;
Segue uma excelente sugestão do Mercel José e o Thomas Martin.&lt;br /&gt;
&lt;br /&gt;
Uma &quot;dificuldade&quot; encontrada por algumas pessoas que trabalha com Linux é a necessidade de abrir vários terminais. O terminal atual do Linux possibilita que você abra várias abas e desta forma você precisa migrar para cada aba sempre que precisa efetuar uma atividade e etc. Com um terminal chamado de Terminator você consegue dividir seu terminal em vários terminais e isto pode ser de grande ajuda.&lt;br /&gt;
&lt;br /&gt;
O Terminator é um software leve não ocupa muita memoria, no entanto em telas de computadores pequenas deve ficar um pouco difícil de enxergar. O grande diferencial é ter uma janela dividida em vários terminais.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://oracleview.files.wordpress.com/2011/04/terminator-mad1.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;http://oracleview.files.wordpress.com/2011/04/terminator-mad1.png&quot; height=&quot;180&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Para instalar é fácil:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
Ubuntu ou Debian:&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;strong style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;&amp;gt;sudo apt-get install terminator&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;Fedora:&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;&lt;br /&gt;&lt;/strong&gt;
&lt;strong style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;&amp;gt;sudo yum install terminator&lt;/strong&gt;&lt;span style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;br style=&quot;background-color: white; font-family: Verdana, &#39;DejaVu Sans&#39;; font-size: 11px; text-align: justify;&quot; /&gt;
&lt;div&gt;
Para utilizar também é simples:&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 15px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+X &lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-weight: inherit;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;-&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;  Alterna entre mostrar todos os terminais ou apenas um;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 15px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit;&quot;&gt;Ctrl+Shift+O&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit;&quot;&gt; &lt;/span&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit;&quot;&gt;-&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit;&quot;&gt; Divide a janela em terminais horizontais;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 15px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+E -&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Divide a janela em terminais verticais;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;background-color: white; border: 0px; color: #333333; font-size: 15px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+Right&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; -&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt; Redimensiona o terminal para direita;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+Left&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; - &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Redimensiona o terminal para esquerda;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+Up&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; - &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Redimensiona o terminal para cima;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;&lt;b&gt;Ctrl+Shift+Down&lt;/b&gt;&lt;span style=&quot;font-weight: inherit;&quot;&gt; -&lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Redimensiona o terminal para baixo;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Ctrl+Shift+W -&lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt; Fecha o terminal que esta sendo utilizado;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Shift+T - &lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;Abre uma nova aba;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-style: inherit; font-weight: bold; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Plus (+)&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; - &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt; Aumenta o tamanho da fonte;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Ctrl+Minus (-) - &lt;/b&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;Diminui o tamanho da fonte;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Ctrl+Zero&lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;b style=&quot;font-style: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;(0)&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-style: inherit; font-weight: inherit; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt; -&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt; Restaura o tamanho original da fonte;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-style: inherit; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;line-height: 12px; white-space: normal;&quot;&gt;&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;Boa Sorte e Bom Trabalho a Todos!!&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;
Cristiano&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;border: 0px; font-style: inherit; line-height: 16px; padding: 0px; text-align: justify; vertical-align: baseline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/8692348022825107051/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/terminator-dividindo-seu-terminal-em.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/8692348022825107051'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/8692348022825107051'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/10/terminator-dividindo-seu-terminal-em.html' title='Terminator: Dividindo seu terminal em várias janelas'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-5009329256837329511</id><published>2014-09-24T18:43:00.001-03:00</published><updated>2014-09-24T18:45:44.032-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Biblioteca"/><category scheme="http://www.blogger.com/atom/ns#" term="Fortran"/><category scheme="http://www.blogger.com/atom/ns#" term="icc"/><category scheme="http://www.blogger.com/atom/ns#" term="Ifort"/><title type='text'>O ifort agora é Pago!</title><content type='html'>Quem aproveitou, aproveitou!&lt;br /&gt;
&lt;br /&gt;
Recentemente descobrimos que o Compilador fortran e C++&amp;nbsp;da intel &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; e &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/icc&quot; target=&quot;_blank&quot;&gt;icc&lt;/a&gt; agora são pagos. Seguramente o compilador fortran mais rápido e eficiente já lançado. Diz a lenda que o desenvolvimento do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; evoluiu junto ao desenvolvimento do Modelo Regional WRF. A lenda conta que ao desenvolver o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; a intel necessitava de executar um processamento ao qual exigisse o máximo de performance e eles conseguiram ao executar o modelo WRF.&lt;br /&gt;
&lt;br /&gt;
No entanto o desenvolvimento do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; foi aos poucos migrando para programação orientada ao objeto e muitas funções de programação em C++ foram adicionadas. A utilização do sistema via terminal (modo texto) foi sendo abandonada aos poucos e desde 2011 a intel vinha desenvolvendo o intell Studio XE (modo gráfico) que combinava em um mesmo software o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; e o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/icc&quot; target=&quot;_blank&quot;&gt;icc&lt;/a&gt;. O inevitável acabou acontecendo o investimento no software foi aumentando cada vez mais o software foi ficando cada vez mais robusto, consequentemente o intel studio foi adquirindo cada vez mais adepto. A consequência disso tudo é que a partir de 2014 os compiladores &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; e &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/icc&quot; target=&quot;_blank&quot;&gt;icc&lt;/a&gt; se tornarão pagos.&lt;br /&gt;
&lt;br /&gt;
O software pode ser encontrado em 3 níveis de desenvolvimento Cluster Edition, Professional Edition e Composer Edition. O valor varia de acordo com o tipo de comprador (Individual, empresa e etc, Estudante, profissional e etc). A licença individual mais barata e mais simples para fins acadêmico custa 249 dólares a mais cara e mais completa e para fins comerciais 1699 dólares. É possível baixar uma versão trial com duração de 30 dias.&lt;br /&gt;
&lt;br /&gt;
É uma pena, mas já era esperado. Portanto, se você possui uma versão free do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ifort&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt; e do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/icc&quot; target=&quot;_blank&quot;&gt;icc&lt;/a&gt; na sua maquina zele por ela :)&lt;br /&gt;
&lt;br /&gt;
Segue o link da página para compra do &lt;a href=&quot;https://software.intel.com/en-us/intel-parallel-studio-xe/try-buy&quot; target=&quot;_blank&quot;&gt;ifort&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!&lt;br /&gt;
&lt;br /&gt;
Cristiano</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/5009329256837329511/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/09/o-ifort-agora-e-pago.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5009329256837329511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5009329256837329511'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/09/o-ifort-agora-e-pago.html' title='O ifort agora é Pago!'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-5590173311717582344</id><published>2014-09-11T13:13:00.002-03:00</published><updated>2015-07-22T09:25:51.022-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Barra de cores &quot;pulando&quot; intervalos</title><content type='html'>Está é mais uma sugestão de barra de cores (shaded) para usuários &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;Grads&lt;/a&gt;. O interessante desta barra é que é possível &quot;saltar&quot; os valores (números) referentes aos contornos da variável. &lt;br /&gt;
&lt;br /&gt;
O autor deste &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Script&quot; target=&quot;_blank&quot;&gt;script&lt;/a&gt; chama-se Stephen R. McMillan&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Script to plot a colorbar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;The script will assume a colorbar is wanted even if there is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;not room -- it will plot on the side or the bottom if there is&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;room in either place, otherwise it will plot along the bottom and&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;overlay labels there if any. &amp;nbsp;This can be dealt with via&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;the &#39;set parea&#39; command. &amp;nbsp;In version 2 the default parea will&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;be changed, but we want to guarantee upward compatibility in&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;sub-releases.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; modifications by mike fiorino 940614&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; rvp added by diane stokes 20040729&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; cinc added by diane stokes 20050130&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; - the extreme colors are plotted as triangles&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; - the colors are boxed in white&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; - input arguments in during a run execution:&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; run cbarn cinc sf vert xmid ymid rvp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; cinc - increment for labels&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; sf &amp;nbsp; - scale the whole bar 1.0 = original 0.5 half the size, etc.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; vert - 0 FORCES a horizontal bar = 1 a vertical bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; xmid - the x position on the virtual page the center the bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; ymid - the x position on the virtual page the center the bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; rvp &amp;nbsp;- 1 resets virtual page (one colorbar for several plots)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; if cinc is not specified, every color interval is labeled&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; if vert,xmid,ymid are not specified, they are selected&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; as in the original algorithm&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;*&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; &amp;nbsp; if rvp is not specified, it is 0 (do not reset virtual page)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;function colorbar (args)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Parse command line arguments&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;----------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;cinc=subwrd(args,1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;sf=subwrd(args,2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;vert=subwrd(args,3)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;xmid=subwrd(args,4)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;ymid=subwrd(args,5)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;rvp=subwrd(args,6)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if(cinc=&#39;&#39;|cinc=0);cinc=1;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if(sf=&#39;&#39;);sf=1.0;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Check shading information&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;-------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&#39;query shades&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;shdinfo = result&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (subwrd(shdinfo,1)=&#39;None&#39;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; say &#39;Cannot plot color bar: No shading information&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* Check if reset of virtual page is desired&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* -----------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; if(rvp = 1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;say &#39;Colorbar based on colors from last plot drawn&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set vpage off&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* Get plot size info&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* ------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &#39;query gxinfo&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; rec2 = sublin(result,2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; rec3 = sublin(result,3)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; rec4 = sublin(result,4)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; xsiz = subwrd(rec2,4)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; ysiz = subwrd(rec2,6)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; ylo = subwrd(rec4,4)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; xhi = subwrd(rec3,6)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; xd = xsiz - xhi&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; ylolim=0.6*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; xdlim1=1.0*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; xdlim2=1.5*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; barsf=0.8*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; yoffset=0.2*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; stroff=0.05*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; strxsiz=0.12*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; strysiz=0.13*sf&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Decide if horizontal or vertical color bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;and set up constants.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (ylo&amp;lt;ylolim &amp;amp; xd&amp;lt;xdlim1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; say &quot;Not enough room in plot for a colorbar&quot;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; return&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;cnum = subwrd(shdinfo,5)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Logic for setting the bar orientation with user overides&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;--------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (ylo&amp;lt;ylolim | xd&amp;gt;xdlim1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vchk = 1&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(vert = 0) ; vchk = 0 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;vchk = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(vert = 1) ; vchk = 1 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Vertical bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (vchk = 1 )&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(xmid = &#39;&#39;) ; xmid = xhi+xd/2 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xwid = 0.2*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ywid = 0.5*sf&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xl = xmid-xwid/2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xr = xl + xwid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (ywid*cnum &amp;gt; ysiz*barsf)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ywid = ysiz*barsf/cnum&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(ymid = &#39;&#39;) ; ymid = ysiz/2 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;yb = ymid - ywid*cnum/2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set string 1 l 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;vert = 1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Horizontal bar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;--------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;ywid = 0.4&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xwid = 0.8&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(ymid = &#39;&#39;) ; ymid = ylo/2-ywid/2 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;yt = ymid + yoffset&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;yb = ymid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if(xmid = &#39;&#39;) ; xmid = xsiz/2 ; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (xwid*cnum &amp;gt; xsiz*barsf)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;xwid = xsiz*barsf/cnum&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;xl = xmid - xwid*cnum/2&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set string 1 tc 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;vert = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Plot colorbar&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;-------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;&#39;set strsiz &#39;strxsiz&#39; &#39;strysiz&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;num = 0&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;while (num&amp;lt;cnum)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;rec = sublin(shdinfo,num+2)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;col = subwrd(rec,1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;hi = subwrd(rec,3)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;if (vert)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; yt = yb + ywid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xr = xl + xwid&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; Draw the left/bottom triangle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; -----------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; if (num = 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if(vert = 1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xm = (xl+xr)*0.5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line &#39;col&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw polyf &#39;xl&#39; &#39;yt&#39; &#39;xm&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&#39; &#39;xl&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line 1 1 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xl&#39; &#39;yt&#39; &#39;xm&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xm&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xr&#39; &#39;yt&#39; &#39;xl&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; ym = (yb+yt)*0.5&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line &#39;col&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw polyf &#39;xl&#39; &#39;ym&#39; &#39;xr&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&#39; &#39;xl&#39; &#39;ym&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line 1 1 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xl&#39; &#39;ym&#39; &#39;xr&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xr&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw line &#39;xr&#39; &#39;yt&#39; &#39;xl&#39; &#39;ym&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Draw the middle boxes&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;---------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (num!=0 &amp;amp; num!= cnum-1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line &#39;col&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw recf &#39;xl&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;set line 1 1 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw rec &amp;nbsp;&#39;xl&#39; &#39;yb&#39; &#39;xr&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Draw the right/top triangle&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;---------------------------&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if (num = cnum-1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if (vert = 1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set line &#39;col&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw polyf &#39;xl&#39; &#39;yb&#39; &#39;xm&#39; &#39;yt&#39; &#39;xr&#39; &#39;yb&#39; &#39;xl&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set line 1 1 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xl&#39; &#39;yb&#39; &#39;xm&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xm&#39; &#39;yt&#39; &#39;xr&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xr&#39; &#39;yb&#39; &#39;xl&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set line &#39;col&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw polyf &#39;xr&#39; &#39;ym&#39; &#39;xl&#39; &#39;yb&#39; &#39;xl&#39; &#39;yt&#39; &#39;xr&#39; &#39;ym&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;set line 1 1 5&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xr&#39; &#39;ym&#39; &#39;xl&#39; &#39;yb&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xl&#39; &#39;yb&#39; &#39;xl&#39; &#39;yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&#39;draw line &#39;xl&#39; &#39;yt&#39; &#39;xr&#39; &#39;ym&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;Put numbers under each segment of the color key&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;but only if this level is to be printed (based on cinc)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp;-------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp;if(num &amp;lt; cnum-1)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; base prt on hi if increment is based on data value (less reliable)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; prt = math_fmod(hi,cinc);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; &amp;nbsp; ------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; prt = math_fmod(num,cinc);&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; if(prt = 0)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (vert)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; xp=xr+stroff&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw string &#39;xp&#39; &#39;yt&#39; &#39;hi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; yp=yb-stroff&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &#39;draw string &#39;xr&#39; &#39;yp&#39; &#39;hi&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; endif&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; Reset variables for next loop execution&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;* &amp;nbsp; ---------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; if (vert)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; yb = yt&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; else&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; xl = xr&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; endif&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; num = num + 1&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; endwhile&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; return&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Para utilizar é fácil:&lt;br /&gt;
&lt;br /&gt;
Após abrir o arquivo desejado, definir a função gxout shaded e exibir (display) a variável, basta digitar:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ga-&amp;gt;&amp;nbsp;&lt;/b&gt;run cbarnskip.gs 2&lt;br /&gt;
&lt;br /&gt;
Eu chamei de cbarnskip.gs você escolhe o nome que achar melhor. O número 2 está relacionado aos valores que serão &quot;removidos&quot; ou alternados.&lt;br /&gt;
&lt;br /&gt;
O resultado pode ser algo do tipo:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXzqQbaZxLpUKyCohWbsd5Xa7MOpuGYKFP_lzXVkz_ED7djSXYZKI_xyZNKY1gMAi5rbkKByYHUc7pp5SkMZne0T_DpPeYBk1Bq5TovPYtfpLJWbdD5ThOOgP2BRlV6WOHDjh94djvgOM/w702-h542-no/cbarskip.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXzqQbaZxLpUKyCohWbsd5Xa7MOpuGYKFP_lzXVkz_ED7djSXYZKI_xyZNKY1gMAi5rbkKByYHUc7pp5SkMZne0T_DpPeYBk1Bq5TovPYtfpLJWbdD5ThOOgP2BRlV6WOHDjh94djvgOM/w702-h542-no/cbarskip.gif&quot; height=&quot;246&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/5590173311717582344/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/09/barra-de-cores-pulando-intervalos.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5590173311717582344'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/5590173311717582344'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/09/barra-de-cores-pulando-intervalos.html' title='Barra de cores &quot;pulando&quot; intervalos'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiXzqQbaZxLpUKyCohWbsd5Xa7MOpuGYKFP_lzXVkz_ED7djSXYZKI_xyZNKY1gMAi5rbkKByYHUc7pp5SkMZne0T_DpPeYBk1Bq5TovPYtfpLJWbdD5ThOOgP2BRlV6WOHDjh94djvgOM/s72-w702-h542-c-no/cbarskip.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-2596092080147552466</id><published>2014-02-06T14:57:00.000-02:00</published><updated>2015-07-22T09:26:04.729-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>GxYAT um comando para gerar Figuras com alta resolução</title><content type='html'>A pedido de Luana Pampuch segue um exemplo para salvar no &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; figuras em .pdf ou .eps e etc.&lt;br /&gt;
&lt;br /&gt;
No &lt;a href=&quot;http://opengrads.org/wiki/index.php?title=Main_Page&quot; target=&quot;_blank&quot;&gt;OpenGrADS&lt;/a&gt; existe um comando chamado &lt;a href=&quot;http://opengrads.org/wiki/index.php?title=Gxyat&quot; target=&quot;_blank&quot;&gt;GxYAT&lt;/a&gt; que você pode criar figuras em PDF, PNG, Postscript e SVG.&lt;br /&gt;
&lt;br /&gt;
Para quem escreve textos em &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Latex&quot; target=&quot;_blank&quot;&gt;Latex&lt;/a&gt; (meu caso) é excelente pois as figuras ficam com excelente resolução e durante a impressão as figuras não perdem qualidade.&lt;br /&gt;
&lt;br /&gt;
Portanto, para quem esta escrevendo TCC, Dissertação ou Tese fica a dica, aprendam &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Latex&quot; target=&quot;_blank&quot;&gt;Latex&lt;/a&gt; salvem suas figuras em PDF e se livrem de serem cobrados pela má qualidade das figuras durante as defesas :).&lt;br /&gt;
&lt;br /&gt;
como usar no GrADS:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&#39;enable print nome_da_figura.gmf&#39;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;.&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&#39;print&#39;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&#39;disable print&#39;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&#39;quit&#39;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
No Terminal Linux digite:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;gt; gxyat -o nome_da_figura.pdf nome_da_figura.gmf&lt;/span&gt;&lt;br /&gt;
É isso!!&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/2596092080147552466/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/02/gxyat-um-comando-para-gerar-figuras-com.html#comment-form' title='4 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2596092080147552466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2596092080147552466'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/02/gxyat-um-comando-para-gerar-figuras-com.html' title='GxYAT um comando para gerar Figuras com alta resolução'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-796822793556974957</id><published>2014-02-04T19:39:00.002-02:00</published><updated>2015-07-22T09:26:19.634-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="comandos"/><category scheme="http://www.blogger.com/atom/ns#" term="Grads"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Script GrADS Barra em formato de Diamante</title><content type='html'>&lt;br /&gt;
Olha o &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Grads&quot; target=&quot;_blank&quot;&gt;GrADS&lt;/a&gt; surpreendendo novamente. Recentemente encontrei um script que plota uma barra de cores em formato de diamante e irei compartilhar com vocês. Acredito que fazer figuras para apresentações com este tipo de barra pode ser interessante, vamos lá:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;http://2.bp.blogspot.com/-_Wl8zmtw-eI/UvFZtxkq9CI/AAAAAAAAAew/kxfbh5ua368/s1600/barradiamante.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img alt=&quot;&quot; border=&quot;0&quot; height=&quot;304&quot; src=&quot;http://2.bp.blogspot.com/-_Wl8zmtw-eI/UvFZtxkq9CI/AAAAAAAAAew/kxfbh5ua368/s1600/barradiamante.gif&quot; title=&quot;&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Para usar as opções são as seguintes:&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;&#39;run diamondbar.gs -r -marg 0.1 -font 0.09 -fs 2&#39;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Este comando serve para plotar a figura acima seguindo o exemplo&amp;nbsp;disponibilizado&amp;nbsp;abaixo.&lt;br /&gt;
&lt;br /&gt;
Opções:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;-help&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: blue;&quot;&gt;Ajuda;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-loc&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: blue;&quot;&gt;Escolhe um local para a colorbar (r=direita-vertical, l=esquerda-vertical,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;b=base-horizontal, t=topo-horizontal),&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;você também pode chamar o comando através de (-l, -r, -b, -t);&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-size/s&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: blue;&quot;&gt;Escolha o tamanho dos diamantes;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-marg&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: blue;&quot;&gt;Escolha a margem para o eixo;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-fs/int&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = &lt;span style=&quot;color: blue;&quot;&gt;Escolha o intervalo para cada número plotado ao longo da colorbar;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-font/fontsize &amp;nbsp;&lt;/b&gt; = &lt;span style=&quot;color: blue;&quot;&gt;Escolha o tamanho da fonte dos números;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-scol&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &lt;span style=&quot;color: blue;&quot;&gt;Escolha a cor dos números;&lt;/span&gt;&lt;br /&gt;
&lt;b&gt;-line&lt;/b&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= &lt;span style=&quot;color: blue;&quot;&gt;Desenha o contorno de cada diamante caso deseje.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
Scripts utilizados:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/s/o733dlj5ymsz24x/diamondbar.gs&quot; target=&quot;_blank&quot;&gt;&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;barradiamante.gs&lt;/span&gt;&lt;/b&gt;&lt;/a&gt;&lt;br /&gt;
&lt;a href=&quot;https://www.dropbox.com/s/uy98zc1g8d7aw35/diamondbar_example.gs&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;Exemplo.gs&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Simples assim, espero que funcione.&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos!!</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/796822793556974957/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/02/script-grads-barra-em-formato-de.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/796822793556974957'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/796822793556974957'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2014/02/script-grads-barra-em-formato-de.html' title='Script GrADS Barra em formato de Diamante'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-_Wl8zmtw-eI/UvFZtxkq9CI/AAAAAAAAAew/kxfbh5ua368/s72-c/barradiamante.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-3963125815556979824</id><published>2013-11-22T15:58:00.001-02:00</published><updated>2015-07-22T09:26:55.341-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ferret"/><category scheme="http://www.blogger.com/atom/ns#" term="Programa"/><category scheme="http://www.blogger.com/atom/ns#" term="Software"/><title type='text'>Instalação PyFerret com Python 2.6</title><content type='html'>&lt;br /&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
Mais uma contribuição do&amp;nbsp;&lt;span style=&quot;font-family: Arial;&quot;&gt;Paulo Henrique e Marcelo Rodrigues, encaminhada pelo &lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Dr. Antonio Carlos Santana dos Santos - Prof. Adjunto Vice-Coordenador do Curso de Física da Universidade Estadual do Ceará.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Um Tutorial da instalação do &lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/search/label/Ferret&quot; target=&quot;_blank&quot;&gt;PyFerret&lt;/a&gt; para Debian 7 com o Python 2.6.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;PS. Segundo os autores esta instalação funcionará para qualquer distribuição Linux desde que tenha o Python 2.6 instalado.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Clique &lt;a href=&quot;https://www.dropbox.com/s/mjsumm64v8h3l4g/Instala%C3%A7%C3%A3o%20Pyferret%20Debian%207.pdf&quot; target=&quot;_blank&quot;&gt;aqui&lt;/a&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Mai uma vez obrigado ao&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Paulo Henrique e Marcelo Rodrigues pelo desenvolvimento e ao&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;font-family: Arial;&quot;&gt;Dr. Antonio Carlos Santana dos Santos pela divulgação e contribuição.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;Boa Sorte e Bom Trabalho a Todos!!&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; text-align: justify;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; color: #333333; font-family: Arial, serif; font-size: 14px; line-height: 22.875px; text-align: justify;&quot;&gt;
&lt;span style=&quot;font-family: Arial;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/3963125815556979824/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2013/11/instalacao-pyferret-com-python-26.html#comment-form' title='0 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3963125815556979824'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/3963125815556979824'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2013/11/instalacao-pyferret-com-python-26.html' title='Instalação PyFerret com Python 2.6'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-6986699086603144448.post-2421105770273348329</id><published>2013-11-11T13:43:00.004-02:00</published><updated>2015-07-22T09:27:20.485-03:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="dados"/><category scheme="http://www.blogger.com/atom/ns#" term="linux"/><category scheme="http://www.blogger.com/atom/ns#" term="Script"/><title type='text'>Script Download Dados ECMWF/ERA-Interin - Parte 1</title><content type='html'>&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;Quando eu&amp;nbsp;atualizei&amp;nbsp;o link do &quot;novo&quot; servidor de download de dados da Reanalise do Era-Interim o &lt;/span&gt;&lt;a href=&quot;http://www.helber.pusku.com/&quot; target=&quot;_blank&quot;&gt;&lt;span style=&quot;color: red;&quot;&gt;Helber&lt;/span&gt;&lt;/a&gt;&lt;span style=&quot;color: blue;&quot;&gt; comentou de um script que possibilitava o download. Segue como fazer:&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: red;&quot;&gt;PS. Para entender os parâmetros e como&amp;nbsp;modificá-los&amp;nbsp;não esqueça de lê o segundo artigo (&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2013/11/script-download-dados-ecmwfera-interin_79.html&quot; target=&quot;_blank&quot;&gt;Script Download Dados ECMWF/ERA-Interim - Parte 2&lt;/a&gt;), link no final deste post.&lt;/span&gt;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
O ECMWF está&amp;nbsp;disponibilizando&amp;nbsp;uma API (Aplication Programming Interface) nas linguagens (Python, Perl e Java) para acesso/download dos seus dados via script/terminal. É uma ferramenta extremamente útil para quem esta&amp;nbsp;familiarizado&amp;nbsp;com este tipo de sistema e não quer baixar os dados via site. Eu recomendo!&lt;br /&gt;
&lt;br /&gt;
Eu irei tentar ensinar como usar a API desenvolvida em Python, escolha a linguagem que você melhor trabalha. Todas estas informações estão disponíveis no site da &lt;a href=&quot;https://software.ecmwf.int/wiki/display/WEBAPI/Accessing+ECMWF+data+servers+in+batch?focusedCommentId=27402678#comment-27402678&quot; target=&quot;_blank&quot;&gt;API&lt;/a&gt; no ECMWF.&lt;br /&gt;
&lt;br /&gt;
Para instalar a biblioteca (ecmwfapi) você precisará primeiro instalar o programa &lt;a href=&quot;https://pypi.python.org/pypi/pip&quot; target=&quot;_blank&quot;&gt;pip&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
O programa &lt;a href=&quot;https://pypi.python.org/pypi/pip&quot; target=&quot;_blank&quot;&gt;pip&lt;/a&gt; é uma excelente alternativa para instalar bibliotecas desenvolvidas em python de maneira fácil, através do terminal. Para instalar o &lt;a href=&quot;https://pypi.python.org/pypi/pip&quot; target=&quot;_blank&quot;&gt;pip&lt;/a&gt; no Ubuntu execute no terminal os seguintes comandos:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;gt; sudo apt-get install python-pip python-dev build-essential&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;gt; sudo pip install --upgrade pip&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Agora com o &lt;a href=&quot;https://pypi.python.org/pypi/pip&quot; target=&quot;_blank&quot;&gt;pip&lt;/a&gt; instalado execute no terminal: (tudo junto separado por espaço)&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;gt; &lt;span style=&quot;color: blue;&quot;&gt;sudo&lt;/span&gt; pip &lt;span style=&quot;color: blue;&quot;&gt;install&lt;/span&gt; https://software.ecmwf.int/wiki/download/attachments/23694554/ecmwf-api-client-python.tgz&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Este comando irá instalar a biblioteca, você pode verificar ela instalada no diretório:&lt;br /&gt;
&lt;br /&gt;
/usr/local/lib/python2.7/dist-packages/&lt;br /&gt;
&lt;br /&gt;
Feito isso, agora você irá precisar criar a sua chave de acesso. Quando&amp;nbsp;precisávamos&amp;nbsp;baixar os dados da reanálise do ECMWF assim que&amp;nbsp;escolhíamos&amp;nbsp;os dados o site solicitava os dados pessoais (Nome a Instituição e o email), agora com essa API você gera uma chave, insere no script, e não precisará fazer esta autorização sempre que for baixar, agora ela feita automaticamente via API.&lt;br /&gt;
&lt;br /&gt;
Para criar a chave você precisa se cadastrar no site:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://apps.ecmwf.int/registration/&quot; target=&quot;_blank&quot;&gt;http://apps.ecmwf.int/registration/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Um email de conformação será enviado com seu login e senha, confirme clicando no link. Ao fazer login na pagina abaixo será&amp;nbsp;disponibilizado&amp;nbsp;sua chave de acesso:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://apps.ecmwf.int/auth/login/&quot; target=&quot;_blank&quot;&gt;https://apps.ecmwf.int/auth/login/&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Agora que sua chave já esta disponível é preciso criar um arquivo com o nome (.ecmwfapirc) no seu /home/usuario para o acesso ser&amp;nbsp;automático, Obs: o nome do arquivo é .ecmwfapirc com (.) para ficar oculto e sem extensão.&lt;br /&gt;
&lt;br /&gt;
Neste arquivo você irá inserir:&lt;br /&gt;
&lt;br /&gt;
{&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;url&quot; &amp;nbsp; : &quot;https://api.ecmwf.int/v1&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;key&quot; &amp;nbsp; : &quot;&lt;span style=&quot;color: red;&quot;&gt;XXXXXXXXXXXXXXXXXXXXXX&lt;/span&gt;&quot;,&lt;br /&gt;
&amp;nbsp; &amp;nbsp; &quot;email&quot; : &quot;&lt;span style=&quot;color: red;&quot;&gt;john.smith@example.com&lt;/span&gt;&quot;&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
,onde vocé irá substituir &lt;span style=&quot;color: red;&quot;&gt;XXXXXXXXXXXXXXXXXXXXXX&lt;/span&gt; pela sua &lt;span style=&quot;color: blue;&quot;&gt;chave&lt;/span&gt; e &lt;span style=&quot;color: red;&quot;&gt;john.smith@example.com&lt;/span&gt; pelo &lt;span style=&quot;color: blue;&quot;&gt;email&lt;/span&gt; que você&amp;nbsp;utilizou&amp;nbsp;para efetuar o cadastro.&lt;br /&gt;
&lt;br /&gt;
Feito isso você já pode baixar os dados. O ecmwf&amp;nbsp;disponibiliza&amp;nbsp;um script exemplo para teste. Portanto, crie um script em PYTHON e dentro dele insira as linhas: eu chamei o meu script de exemplo.py&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #38761d;&quot;&gt;#!/usr/bin/env python&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;from&lt;/b&gt;&lt;/span&gt; ecmwfapi &lt;span style=&quot;color: blue;&quot;&gt;&lt;b&gt;import&lt;/b&gt;&lt;/span&gt; ECMWFDataServer&lt;br /&gt;
&lt;br /&gt;
server = ECMWFDataServer()&lt;br /&gt;
&lt;br /&gt;
server.retrieve({&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;dataset&#39; : &quot;tigge&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;step&#39; &amp;nbsp; &amp;nbsp;: &quot;24/to/120/by/24&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;number&#39; &amp;nbsp;: &quot;all&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;levtype&#39; : &quot;sl&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;date&#39; &amp;nbsp; &amp;nbsp;: &quot;20071001/to/20071003&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;time&#39; &amp;nbsp; &amp;nbsp;: &quot;00/12&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;origin&#39; &amp;nbsp;: &quot;all&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;type&#39; &amp;nbsp; &amp;nbsp;: &quot;pf&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;param&#39; &amp;nbsp; : &quot;tp&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;area&#39; &amp;nbsp; &amp;nbsp;: &quot;70/-130/30/-60&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;grid&#39; &amp;nbsp; &amp;nbsp;: &quot;2/2&quot;,&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp; &amp;nbsp; &#39;target&#39; &amp;nbsp;: &quot;data.grib&quot;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp; &amp;nbsp; })&lt;br /&gt;
&lt;br /&gt;
Salve e dê permissão de execução:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;gt; chmod +x exemplo.py&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Ao executar este script:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;gt;./exemplo.py&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Aparecerá uma série de informações no terminal sobre o sistema, dado e o andamento do Download.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://prestrelocristiano.blogspot.com.br/2013/11/script-download-dados-ecmwfera-interin_79.html&quot; target=&quot;_blank&quot;&gt;Script Download Dados ECMWF/ERA-Interim - Parte 2&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Boa Sorte e Bom Trabalho a Todos.</content><link rel='replies' type='application/atom+xml' href='http://prestrelocristiano.blogspot.com/feeds/2421105770273348329/comments/default' title='Postar comentários'/><link rel='replies' type='text/html' href='http://prestrelocristiano.blogspot.com/2013/11/script-download-dados-ecmwfera-interin_4094.html#comment-form' title='2 Comentários'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2421105770273348329'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/6986699086603144448/posts/default/2421105770273348329'/><link rel='alternate' type='text/html' href='http://prestrelocristiano.blogspot.com/2013/11/script-download-dados-ecmwfera-interin_4094.html' title='Script Download Dados ECMWF/ERA-Interin - Parte 1'/><author><name>.</name><uri>http://www.blogger.com/profile/05577245920057479393</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry></feed>