public class Cosmic1Convention extends CoordSysBuilder
CoordSysBuilder.ConventionNameOk, CoordSysBuilder.VarProcess
conventionName, coordVarMap, debug, log, parseInfo, resourcesDir, userAdvice, varList
Constructor and Description |
---|
Cosmic1Convention() |
Modifier and Type | Method and Description |
---|---|
void |
augmentDataset(NetcdfDataset ds,
CancelTask cancelTask)
Make changes to the dataset that are needed before processing scale/offset in NetcdfDataset.
|
static double[] |
ECFtoLLA(double x,
double y,
double z,
double a,
double b)
comparing api to others
|
double[] |
execute(double[] eci,
double julian) |
protected AxisType |
getAxisType(NetcdfDataset ncDataset,
VariableEnhanced v)
Identify what kind of AxisType the named variable is.
|
static boolean |
isMine(NetcdfFile ncfile) |
double[] |
spin(double[] v1,
double[] vs,
double a)
----------------------------------------------------------------------
file spin.f
This subroutine rotates vector V1 around vector VS
at angle A.
|
addCoordinateVariable, addUserAdvice, assignCoordinateSystemsExplicit, assignCoordinateTransforms, breakupConventionNames, buildConventionAttribute, buildCoordinateSystems, factory, findCoordinateAxes, findCoordinateAxis, findCoordinateSystems, findCoordinateTransforms, findVarProcess, getConventionUsed, getParseInfo, getUseMaximalCoordSys, getUserAdvice, isCoordinateAxisForVariable, makeCoordinateAxes, makeCoordinateSystems, makeCoordinateSystemsImplicit, makeCoordinateSystemsMaximal, makeCoordinateTransform, makeCoordinateTransforms, makeCoordinateTransformVariable, registerConvention, registerConvention, registerConvention, registerNcML, setConventionUsed, setUseMaximalCoordSys
public static boolean isMine(NetcdfFile ncfile)
ncfile
- the NetcdfFile to testpublic void augmentDataset(NetcdfDataset ds, CancelTask cancelTask) throws java.io.IOException
CoordSysBuilderIF
augmentDataset
in interface CoordSysBuilderIF
augmentDataset
in class CoordSysBuilder
ds
- modify this datasetcancelTask
- give user a chance to bail outjava.io.IOException
- on errorprotected AxisType getAxisType(NetcdfDataset ncDataset, VariableEnhanced v)
CoordSysBuilder
getAxisType
in class CoordSysBuilder
ncDataset
- for this datasetv
- a variable alreaddy identified as a Coodinate Axispublic double[] spin(double[] v1, double[] vs, double a)
v1
- - Vector to be rotatedvs
- - Vector around which to rotate v1a
- - angle of rotationpublic double[] execute(double[] eci, double julian)
public static double[] ECFtoLLA(double x, double y, double z, double a, double b)