[ncl-talk] f2foshv_Wrap function do not match
Guilherme Martins
jgmsantos at gmail.com
Fri Apr 8 05:42:54 MDT 2016
Hi all,
Trying to use the f2foshv_Wrap function, I get the messege below.
fatal:Dimension sizes of left hand side and right hand side of assignment
do not match
According to the link:
http://www.ncl.ucar.edu/Document/Functions/Contributed/f2foshv_Wrap.shtml
The result (uoff;voff) has the same same size dimensions of ure;vreg except
the latitude dimension must have one less element.
Declaring my variables:
nt = 3
nz = 12
ny = 72
nx = 144
uN = new((/nt,nz,ny,nx/),typeof(u))
vN = new((/nt,nz,ny,nx/),typeof(v))
The latitude has one less element than original file.
I can't understand where is my error.
The input file (uwnd.vwnd.nc) can be downloaded at:
http://ftp-supercomputacao.inpe.br/public/jose.martins/
Thanks,
Guilherme.
--
------------------------------------------------------------------------------------------
Dr. Guilherme Martins
Instituto Nacional de Pesquisas Espaciais (INPE)
Centro de Ciência do Sistema Terrestre (CCST) - Prédio CES
Grupo de Superfície-Biosfera-Atmosfera (GSBA)
Telefone (INPE/CP): +55 12 3186-9520 || Celular (TIM): +55 12 98152-8580
E-mail: guilherme.martins at inpe.br || jgmsantos at gmail.com
Skype: guilherme.martins.
Homepage: https://sites.google.com/site/jgmsantos
Currículo Lattes: http://lattes.cnpq.br/5997657584785803
------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160408/26cd662a/attachment.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ex01_f2foshv._p1.ncl
Type: text/x-ncl
Size: 1270 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20160408/26cd662a/attachment.bin
More information about the ncl-talk
mailing list