NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
OI Marcelo, Tenho uma boa quantidade de scripts para uma série de diferentes produtos de modelos e observações q são usados como ferramentas pelos meteorologistas. Se vc disser o q vc estah precisando fazer eu te mando os scripts q estiverem relacionados, ok? abraço On Mon, 2007-07-16 at 16:59 -0300, waldenio almeida wrote: > Marcelo Romero de Moraes escreveu: > > Oi pessoal, > > > > Tudo bem com vocês ? Alguém poderia mandar os scripts do curso para a > > lista. > > > > Abraços à todos. > > > > Marcelo R. de Moraes > > EPAGRI/CIRAM > > Florianópolis-SC > > 48 3239-8053 > > Boa Tarde Marcelo, > > Seguem alguns scripts. Podems ser necessárias modificacoes > para as suas configurações locais. Teste-o, plx. > > abs, > Waldenio. > > > > #! /bin/csh > ################################################################# > # > # Extracao de dados Synop para analises climaticas > # > # Este script gera uma listagem para o grupo de clima > # > # Versao 1.0 01/07/2005 Waldenio Gambi / Helio > # Versao Inicial > ################################################################# > # > if ($1 == 'normal') then > set myself = $0 > set mytype = $1 > set YMD=`date -u '+%Y%m%d'` > set YY=`date -u '+%Y'` > set MM=`date -u '+%m'` > set DD=`date -u '+%d'` > set HORA = $2 > else if ($1 == 'manual') then > set myself = $0 > set mytype = $1 > set YMD = $2$3$4 > set YY = $2 > set MM = $3 > set DD = $4 > set HORA = $5 > else > echo " Usage: " > echo " $0 normal hh (manual yyyy mm dd hh)" > exit > endif > > # > # Seta as variaveis necessarias para localizar o GEMPAK > # > source ~gempak/Gemenviron > > # Diretorio com os dados decodificados no formato GEMPAK > # mais o arquivo fonte para todas as figuras > > set FONTE=/data/ldm/gempak/syn > set SFFILE=${FONTE}/${YMD}_syn.gem > > # Diretorio de destino para as listagens > > set DESTINO=$HOME > set DIRRUN=$HOME > cd $DIRRUN > > ################################################################# > # > # Cria listagem com dados synop do Brasil > # > ################################################################# > > # Define o arquivo de saida > set ARQUIVO=synop${YMD}${HORA}.txt > set SAIDA=${DESTINO}/${ARQUIVO} > > if (-e ${SAIDA}) then > rm -f ${SAIDA} > endif > > set STATION=bz- > > sflist << EOF > SFFILE = ${SFFILE} > AREA = ${STATION} > DATTIM = ${HORA} > SFPARM = slat;slon;tmpc;p24m > OUTPUT = f/${SAIDA} > IDNTYP = stnm > r > > e > EOF > echo " " > > rm -f gemglb.nts last.nts > > exit(0) > > # end of shell.... > > ============================================================================== > To unsubscribe idd-brasil, visit: > http://www.unidata.ucar.edu/mailing-list-delete-form.html > ============================================================================== > -- Giovanni Dolif Meteorologist, Msc. and Ph.D. Student National Institute for Space Research (INPE) Weather Forecast and Climate Studies Center (CPTEC) km 40, Rod. Pres. Dutra 12630-000, Cachoeira Paulista, SP, Brazil Phone: +55 (12) 3186-8400 FAX: +55 (12) 3101-2835 http://www.inpe.br/ingles/index.php http://www.cptec.inpe.br/ ============================================================================== To unsubscribe idd-brasil, visit: http://www.unidata.ucar.edu/mailing-list-delete-form.html ==============================================================================
idd-brasil
archives: