Skip to main content

Through-the-web data browser for CDX datasets

Project description

This is a through-the-web data browser for CDX, the Climate Data Exchange, an effort of the Jet Propulsion Laboratory (JPL). It serves as a “data portal” for climate data.

Although intended for the CDX web site, it can run on any Plone site.

Developers

If you’re stuck maintaining this package, note that it depends on the CDX client package. That’s all well and dandy, except that the client itself depends on PyHDF, which may look like a nice standard Python enhanced egg, but believe me, it’s not. OK, it probably is, but it depends on NumPY and HDF4, both of which are problematic.

Here’s what I ended up having to do:

  1. Pick a prefix, call it $PREFIX.

  2. virtualenv-2.6 –distribute –no-site-packages –prompt=cdxcrap $PREFIX

  3. cd $PREFIX

  4. bin/pip install numpy

  5. mkdir src

  6. cd src

  7. curl -L ‘http://www.hdfgroup.org/ftp/HDF/HDF_Current/src/hdf-4.2.6.tar.bz2’ | tar xjf -

  8. cd hdf-4.2.6

  9. ./configure –prefix=$PREFIX –without-szlib –disable-fortran

  10. make

  11. make install

  12. cd ..

  13. curl -L ‘http://sourceforge.net/projects/pysclint/files/pyhdf/0.8.3/pyhdf-0.8.3.tar.gz’ | tar xzf -

  14. cd pyhdf-0.8.3

  15. env NOSZIP=1 INCLUDE_DIRS=$PREFIX/include LIBRARY_DIRS=$PREFIX/lib $PREFIX/bin/python2.6 setup.py install

You can then use $PREFIX/bin/python2.6 with this egg:

  1. $PREFIX/bin/python2.6 bootstrap.py -d

  2. bin/buildout

  3. bin/test

Tests pass, so it must work!

cdxsite.databrowser Installation

Use zc.buildout and the plone.recipe.zope2instance:

  • Add cdxsite.databrowser to the list of eggs to install, e.g.:

    [buildout]
    ...
    eggs =
        ...
        cdxsite.databrowser
  • Tell the plone.recipe.zope2instance recipe to install a ZCML slug:

    [instance]
    recipe = plone.recipe.zope2instance
    ...
    zcml =
        cdxsite.databrowser
  • Re-run buildout, e.g. with:

    $ ./bin/buildout

You can skip the ZCML slug if you are going to explicitly include the package from another package’s configure.zcml file.

Changelog

2.0.1 - 2011.7.1 - Plone 4.1 + Upgrade Path

This release adds the following:

  • Compatibility with Plone 4.1.

  • Removal of obsolete security declarations.

  • Upgrade path. Although currently null, the framework for future upgrades is now in place.

2.0.0 - 2011.6.27 - Infrastructure Upgrade

This release speeds things up quite a bit because now we run with Plone 4.

1.0.2 - 2009.12.16 - Project Updates

  • Updates project metadata with a new download URL that collects all related cdxsite deliverables in one location.

  • Properly declares cdx.client as a dependency.

1.0.1 - Bug fix

  • Fix an issue with path interpretation from the CDX client library.

1.0.0 - FCS

  • First deployment

0.0.0 - Unreleased

  • Initial release

Project details


Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page