Packages

o

gem.ocs2

SmartGcalImporter

object SmartGcalImporter extends DoobieClient

Importer for SmartGcal CSV files. Note, these files use display values in some cases instead of the seqexec values since they were meant to be edited by science staff.

Linear Supertypes
DoobieClient, IndexMeta, ProgramIdMeta, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SmartGcalImporter
  2. DoobieClient
  3. IndexMeta
  4. ProgramIdMeta
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. type KeyParser[K] = (List[String]) => (K, List[String])
  2. implicit class ParseOps extends AnyRef
  3. type SmartGcalLine[K] = (GcalLampType, GcalBaselineType, K, GcalConfig)
  4. type SmartGcalWriter[K] = (Vector[SmartGcalLine[K]]) => Stream[doobie.ConnectionIO, Int]

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. implicit val IndexMeta: doobie.Meta[Index]
    Definition Classes
    IndexMeta
  5. implicit val ProgramIdMeta: doobie.Meta[Id]
    Definition Classes
    ProgramIdMeta
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. val checkSmartDir: IO[Unit]
  8. val clean: doobie.ConnectionIO[Unit]

    Truncates all the smart gcal tables.

  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  10. def configureLogging[M[_]](implicit arg0: Effect[M]): M[Unit]
    Definition Classes
    DoobieClient
  11. val dir: File
  12. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  13. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  14. def fileName(prefix: String, lampType: GcalLampType): String

    Obtains the file name to use for the given instrument name and lamp type.

    Obtains the file name to use for the given instrument name and lamp type.

    prefix

    file name prefix, which is extended with "_ARC.csv" and "_FLAT.csv" to create the full file names.

    lampType

    flat or arc

    returns

    corresponding .csv file

  15. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  16. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  18. def ignoreUniqueViolation(fa: doobie.ConnectionIO[Int])(implicit ev: Bracket[doobie.ConnectionIO, Throwable]): doobie.ConnectionIO[Int]
    Definition Classes
    DoobieClient
  19. def importAllInst: IO[Unit]
  20. def importInst[K](instFilePrefix: String, parser: KeyParser[K], unindexer: doobie.ConnectionIO[Int], writer: SmartGcalWriter[K], indexer: doobie.ConnectionIO[Int]): IO[Unit]
  21. implicit val ioContextShift: ContextShift[IO]
    Definition Classes
    DoobieClient
  22. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  23. def main(args: Array[String]): Unit
  24. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. def parseF2(input: List[String]): (Flamingos2, List[String])
  28. def parseGcal(input: List[String]): (GcalBaselineType, GcalConfig)
  29. def parseGmosNorth(input: List[String]): (GmosNorthDefinition, List[String])
  30. def parseGmosSouth(input: List[String]): (GmosSouthDefinition, List[String])
  31. def parseGnirs(input: List[String]): (GnirsDefinition, List[String])
  32. def parseLine[K](input: List[String], l: GcalLampType, parser: KeyParser[K]): SmartGcalLine[K]
  33. def parseMaxWavelength(s: String): Wavelength
  34. def runc: IO[Unit]
  35. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  36. def toString(): String
    Definition Classes
    AnyRef → Any
  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from DoobieClient

Inherited from IndexMeta

Inherited from ProgramIdMeta

Inherited from AnyRef

Inherited from Any

Ungrouped