object NetCdfFileUtil
- Alphabetic
- By Inheritance
- NetCdfFileUtil
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
anomalies(in: NetcdfFile, out: File, varName: String, timeName: String = "time", windowYears: Int = 30, useMedian: Boolean = false): Processor[Unit] with Prepared
Calculates anomalies of a time series.
Calculates anomalies of a time series. It assumes that the time resolution in the input is months! The output will have a matrix of the same size as the input, where each cell is the difference between the input cell and the normal value for that cell at that time.
- in
the input file to process
- out
the output file to create
- varName
the variable to process
- timeName
the time dimension in the variable
- windowYears
the number of years to average across
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
concat(in1: NetcdfFile, in2: NetcdfFile, out: File, varName: String, dimName: String = "time"): Processor[Unit] with Prepared
Creates a new NetCDF file that contains one variable resulting from the concatenation of that variable present in two input files.
Creates a new NetCDF file that contains one variable resulting from the concatenation of that variable present in two input files.
- in1
the first input file (data will appear first)
- in2
the second input file (data will appear second)
- out
the output file to write to
- varName
the name of the variable to take from the inputs and concatenate
- dimName
the dimension along which to the variable is split across the two inputs
- def concatAndWait(in1: NetcdfFile, in2: NetcdfFile, out: File, varName: String, dimName: String = "time"): Unit
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
transform(in: NetcdfFile, out: File, varName: String, inDims: IndexedSeq[String], outDimsSpec: IndexedSeq[OutDim])(fun: (IndexedSeq[Int], Array) ⇒ Array): Processor[Unit] with Prepared
Transforms an input NetCDF file into an output NetCDF file, by copying a given variable and applying an optional transform to the data.
Transforms an input NetCDF file into an output NetCDF file, by copying a given variable and applying an optional transform to the data.
Note: This is not optimized for speed, yet.
- in
the input file to transform
- out
the file to which the output will be written
- varName
the variable to copy/transform
- inDims
the dimensions of the variable to transform. these will be removed from the target variable
- outDimsSpec
the dimensions of the output variable. each spec can either indicate a verbatim copy (
Keep) or the result of the transformation (Create)- fun
a function that will transform the variable's data matrix. It is passed the origin in the kept dimensions (origin of the output shape minus the created dimensions) and an object of dimension
inDims.sizeand is required to output an object of dimensionoutDims.filterNot(_.isCopy).size. The dimensions are sorted to correspond withinDims. The function is called repeatedly, iterating over all other input dimensions except those ininDims.
- def transformSelection(in: NetcdfFile, out: File, sel: VariableSection, inDims: IndexedSeq[String], outDimsSpec: IndexedSeq[OutDim])(fun: (IndexedSeq[Int], Array) ⇒ Array): Processor[Unit] with Prepared
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
- object Create
- object OutDim