Object

at.iem.sysson.util

NetCdfFileUtil

Related Doc: package util

Permalink

object NetCdfFileUtil

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. NetCdfFileUtil
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class Create extends OutDim

    Permalink
  2. final case class Keep(name: String) extends OutDim with Product with Serializable

    Permalink
  3. sealed trait OutDim extends AnyRef

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. object Create

    Permalink
  5. object OutDim

    Permalink
  6. def anomalies(in: NetcdfFile, out: File, varName: String, timeName: String = "time", windowYears: Int = 30, useMedian: Boolean = false): Processor[Unit] with Prepared

    Permalink

    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

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. def concat(in1: NetcdfFile, in2: NetcdfFile, out: File, varName: String, dimName: String = "time"): Processor[Unit] with Prepared

    Permalink

    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

  10. def concatAndWait(in1: NetcdfFile, in2: NetcdfFile, out: File, varName: String, dimName: String = "time"): Unit

    Permalink
  11. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  20. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  21. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  22. def transform(in: NetcdfFile, out: File, varName: String, inDims: IndexedSeq[String], outDimsSpec: IndexedSeq[OutDim])(fun: (IndexedSeq[Int], Array) ⇒ Array): Processor[Unit] with Prepared

    Permalink

    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.size and is required to output an object of dimension outDims.filterNot(_.isCopy).size. The dimensions are sorted to correspond with inDims. The function is called repeatedly, iterating over all other input dimensions except those in inDims.

  23. def transformSelection(in: NetcdfFile, out: File, sel: VariableSection, inDims: IndexedSeq[String], outDimsSpec: IndexedSeq[OutDim])(fun: (IndexedSeq[Int], Array) ⇒ Array): Processor[Unit] with Prepared

    Permalink
  24. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped