Uploaded image for project: 'Apache Open Climate Workbench (Retired)'
  1. Apache Open Climate Workbench (Retired)
  2. CLIMATE-55

Updating any modules using PyNgl and PyNio

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.1-incubating
    • 0.1-incubating
    • metrics
    • None

    Description

      PyNgl and PyNio have some critical weaknesses as follows.
      1. NCAR has not updated PyNgl and PyNio updated for a long time. They do not support full features of NCL.
      2. PyNgl does not support x window plots. It only allows creating postscript files.
      3. PyNio cannot delete and replace existing NetCDF files.

      I suggest replacing PyNio/PyNgl with netCDF4 and mpl_toolkits.basemap.

      (updated June/19/2013)
      Jinwon and I found out that netCDF4 does not properly handle model data without any missing data.
      Using PyNio, variables from netcdf files are stored as a numpy.ma array whereas netCDF4 just creates numpy array when there is no missing value. This caused an error because our toolkit assumes that all model data have mask information. I will fix this and commit a new revision soon.

      Attachments

        Activity

          People

            cgoodale Cameron Goodale
            huikyole Huikyo Lee
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 336h
                336h
                Remaining:
                Remaining Estimate - 336h
                336h
                Logged:
                Time Spent - Not Specified
                Not Specified