Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Generating MPEG animations

The Gempak gif driver can be used to generate multiple image frames which can be combined in MPEG format to provide annimation sequences. The process is similar to that for generating meta files for NTRANS, with the exception that a separate gif file is produced for each frame whereas the meta files can be appended to a single file.

Once the desired gif files are generated, the individual frames can be combined into a single MPEG file using one of several publically available encoders.

When generating the gif files, remember that MPEG files can grow very large, so you will probably want to specify a smaller output size than the default for the GF driver.

Tips for animations:

  • Use broader line widths for contours which will move from frame to frame.
  • Try to reduce the number of colors used.
  • Use bold fonts for labels, especially for dates which change.

    MPEG loop of ETA surface pressure
    Script to create ETA gif images
    Script to create ETA animation from gifs

    MPEG loop of IR satellite images
    Script to create satellite gif images
    Script to create satellite animation from gifs


    Return to the Walk Through Examples Table of Contents.
     
     
      Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
     
    National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
    P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690