Emoslib is now deprecated

These Fortran functions generate U and V GRIB-2 format wind component fields from spectral vorticity and divergence fields. The wind components can be spectral or grid point.

If the vorticity and divergence fields must be either GRIB-1 or GRIB-2 format. Declare the function as INTEGER and EXTERNAL, and invoke it as follows:

      IRET = INTUVP2( VGRIB, DGRIB, INLEN, UGRIB, VGRIB, OUTLEN)

It is important to check the return value in IRET to ensure the call has been successful.

If INTOUT is called before INTUVP , the U and V fields will be generated and also interpolated during production. Otherwise, the U and V fields will have the same form as the vorticity and divergence fields; eg spectral vorticity and divergence fields generate spectral U and V.

Return value.

The returned value is 0 if the call is successful.

Parameters