Emoslib is now deprecated

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

If the vorticity and divergence fields are in GRIB format, INTUVP creates U and V fields in GRIB format. Declare the function as INTEGER and EXTERNAL, and invoke it as follows:

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

If the vorticity and divergence fields are real values in Fortran arrays, INTUVU will create fields of real values for U and V in Fortran arrays. Declare the function as INTEGER and EXTERNAL, and invoke it as follows:

      IRET = INTUVU( VYIN, DVIN, INLEN, UOUT, VOUT, OUTLEN)

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

Calls to INTIN are not required before calling INTUVP because the input GRIB products provide sufficient descriptive information. However, before calling INTUVU, it necessary to call INTIN to describe the input truncation.

If INTOUT is called before INTUVP or INTUVU, 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