This is the documentation for the Java source code examples provided along with the MATBX Software. It shows the basic concepts on how to use the MATBX Java API for your own applications:

You can also download the bundled examples as a single ZIP file. In order to compile the examples, the ZIP file also contains a build.xml file for use with the open source tool ant (a kind of make for Java) developed by the Apache Software Foundation.

Newcomers who want to develop export tools and data processors are invited to look at {@link matbx.examples.data_export} and {@link matbx.examples.ndvi_simple} first. The first package contains basic tools which lets you extract geophysical data from products. The {@link matbx.examples.ndvi_simple} package contains a few lines of code showing you how to compute the NDVI value from a MERIS Level 1b input product.

Once you have understood that, please examine the {@link matbx.examples.ndvi_processor} example contained in this package. {@link matbx.examples.ndvi_processor.NdviProcessorMain} implements is a fully functional data processor which uses some important concepts and mechanisms of the MATBX processing framework. Don't be afraid, it is still very easy code. It can be used as a template for your own data processors.

This is the list of the most important API packages used by the examples:

  1. The matbx.framework.datamodel package.
  2. The matbx.framework.dataio package.
  3. The matbx.util package.