ucar.nc2.ft.fmrc
Class EnsCoord

java.lang.Object
  extended by ucar.nc2.ft.fmrc.EnsCoord
All Implemented Interfaces:
Comparable

public class EnsCoord
extends Object
implements Comparable

Represents a ensemble coordinate shared among variables

Since:
Jan 12, 2010
Author:
caron

Field Summary
 int ensembles
           
 int[] ensTypes
           
 int pdn
           
 
Method Summary
 int compareTo(Object o)
           
 boolean equalsData(EnsCoord other)
           
static EnsCoord findEnsCoord(List<EnsCoord> ensCoords, EnsCoord want)
           
 int[] getEnsTypes()
           
 int getId()
           
 String getName()
           
 int getNEnsembles()
           
 int getPDN()
           
 int getSize()
           
static void normalize(EnsCoord result, List<EnsCoord> ecList)
          Extend result with all the values in the list of EnsCoord
 void setEnsTypes(int[] ensTypes)
           
 void setId(int id)
           
 void setName(String name)
           
 void setNEnsembles(int ensembles)
           
 void setPDN(int pdn)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ensembles

public int ensembles

pdn

public int pdn

ensTypes

public int[] ensTypes
Method Detail

getId

public int getId()

setId

public void setId(int id)

getName

public String getName()

setName

public void setName(String name)

getNEnsembles

public int getNEnsembles()

setNEnsembles

public void setNEnsembles(int ensembles)

getPDN

public int getPDN()

setPDN

public void setPDN(int pdn)

getEnsTypes

public int[] getEnsTypes()

setEnsTypes

public void setEnsTypes(int[] ensTypes)

getSize

public int getSize()

equalsData

public boolean equalsData(EnsCoord other)

compareTo

public int compareTo(Object o)
Specified by:
compareTo in interface Comparable

findEnsCoord

public static EnsCoord findEnsCoord(List<EnsCoord> ensCoords,
                                    EnsCoord want)

normalize

public static void normalize(EnsCoord result,
                             List<EnsCoord> ecList)
Extend result with all the values in the list of EnsCoord

Parameters:
result - extend this coord
ecList - list of EnsCoord, may be empty


Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.