[Thread Prev][Thread Next][Index]

Re: [ferret_users]



Of course!! I thought of a integral and put the wrong function @int instead of @din!
Thanks so much!!
It was a distract error!


2013/4/3 Ryo Furue <furue@xxxxxxxxxx>
Hi Lívia,

> Dear fellows, I'm trying to isolate the velocity field of a water
> parcel through a density interval.
[. . .]
> yes? fill uvel
>
> **ERROR: command syntax: Unknown transformation:5500
>           Use SHOW TRANSFORMS for a list of legal transformations

This error seems to be from your "z=0:5500@int".  I don't think there
is a transformation "@INT".

I'm not quite sure what do you mean by "isolate the velocity field".
With this definition

> let water1 = if (sigma ge 1027.6 and sigma le 1027.8) then u[d=3]

your water1 is the same as u[d=3] only where 1027.6 < sigma <= 1027.8
and it's undefined elsewhere.

If you want to integrate the velocity field within this density class,
probably this is what you want:

  let uvel = water1[z=0:5500@din]

"@DIN" is a definite integral.  I'm not sure whether this method
has enough accuracy for your purpose; because in this calculation
there is no interpolation but the gridboxes with density values
outside the range are simply ignored in the integration.

Ryo



--
Lívia Sancho

Oceanógrafa, BSc
+55 (21) 8574-0843
+55 (21) 8211-5158

Mestrado no Programa de Engenharia Civil (PEC/COPPE - UFRJ)
Área de Petróleo e Gás

Universidade Federal do Rio de Janeiro
Laboratório de Métodos Computacionais em Engenharia
http://www.lamce.coppe.ufrj.br/
E-mail: sancho@xxxxxxxxxxxxxxxxxxx
Tel: +55 (21) 2562-8419

Currículo Lattes
http://lattes.cnpq.br/2758426810489622

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement