<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
<br>Bom dia pessoal,<br><br>Estou tentando extrair variáveis ambientais de arquivos formato netcdf. Até um certo momento consigo separtar em arquivos as Latitudes, Longitudes, time (mes/ano) e a dml (exemplo que mando aqui). <br><br>Link para baixar os dados do exemplo<br>https://www.dropbox.com/s/66dp4rgei791r52/DML05_12.nc<br><br>nc <- open.nc("DML05_12.nc", write=TRUE)<br>print.nc(nc)<br>lat<-var.get.nc(nc, "LAT46_103")<br>lon<-var.get.nc(nc, "LONN55_12")<br>time<-var.get.nc(nc, "TIME")<br>dml<-var.get.nc(nc, "MLD")<br><br><br>Meu problema é que nao estou conseguindo organizar eles em colunas com 
seus respectivos valores para cada latitude, longitude, time e dml. <br><br>o output final deveria ficar assim:<br><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: 'Lucida Console'; font-size: 13px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: 15px; orphans: 2; text-align: -webkit-left; text-indent: 0px; text-transform: none; white-space: pre-wrap; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; background-color: rgb(225, 226, 229); "><pre tabindex="0" class="GDXA2EVBEAB" style="font-family: 'Lucida Console'; font-size: 10pt !important; outline-style: none; outline-width: initial; outline-color: initial; border-top-style: none; border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; border-color: initial; white-space: pre-wrap !important; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; line-height: 1.2; ">   lat   lon   time   dml 
1 -44.5 -55.5
2 -43.5 -55.5
3 -42.5 -55.5
4 -41.5 -55.5
5 -40.5 -55.5
6 -39.5 -55.5</pre></span><br>Agradeço a ajuda desde já<br><br>Humberto<br><br><br><br><br><br><br><font style="font-weight:bold" size="2"><span style="color:rgb(0, 0, 255)"><span style="color:rgb(0, 0, 0)">__________________________________________________</span><br></span></font><pre>Prof. Dr. Humberto Gomes Hazin<br>Universidade Federal Rural de Pernambuco - UFRPE<br>Unidade Acadêmica de Serra Talhada - UAST<br>Coordenador do Curso de Engenharia de Pesca<br>Fazenda Saco, S/N - Caixa Postal 063<br>CEP 56900-000<br>Serra Talhada - PE<br>Tel.(87) 3831-2206/3831-1927<br>Cel.(81) 9158 0564</pre>                                    </div></body>
</html>