GithubHelp home page GithubHelp logo

cowseatgrass / a.c.m.e.-atomicjetengines- Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 152 KB

A.C.M.E. Atomic Jet Engines: Eludium Q-36 Plasma Chromatography Interpreter

License: Creative Commons Zero v1.0 Universal

Batchfile 21.18% C# 78.82%

a.c.m.e.-atomicjetengines-'s Introduction

Logo

A.C.M.E.-AtomicJetEngines-

A.C.M.E. Atomic Jet Engines: Eludium Q-36 Plasma Chromatography Interpreter

Purpose

This is a fun project intended to explore different Discrete & Multi-Platform coding mediums:
1) Windows CMD Line / PowerShell / Linux Bash
2) C# .NET / C# Core 
3) Julia / Python 
4) C / Pascal / Fortran
5) Kotlin / Lua / Ruby
6) LabView 

Story

A.C.M.E. Research & Development (on Mars) is testing Eludium Q-36 as a fuel for their Atomic Jet Engines.
A.C.M.E. Simulation & Safety (on Earth) runs some of this testing remotely.

Problem One

The A.C.M.E. Plasma Chromatograph on Mars outputs the Measurement Sample Locations as strings.
However, the A.C.M.E. Simulation In Loop software is not capable of ingesting Data Strings.

Problem Two

The A.C.M.E. Plasma Chromatograph on Mars runs on Local Solar Time (LST) on Mars.
However, A.C.M.E. Simulation in Loop software runs on Universal Standard Time (UST) on Earth.

Goal

Write a simple Measurement Interpreter to convert the A.C.M.E. Plasma Chromatograph's CSV output file
"MarsDataRaw.csv" to an INI file "EarthDataRaw.ini" for ingestion into A.C.M.E Simulation & Loop software.

Example CSV

SampleName,"Atomic Jet Engine"
MethodName,"Chromatograph_Q-36"
UserName,"Marvin T. Martian"
Comments,"TurbineHP" **OR** "TurbineLP" **OR** "Nozzle"
LocalSolarTime,"75/123 12:34:56"
SettingsFile,"Eludium Q-36.cnfg"
Instrument,"123456789"
RawTotalMolePct,1.4119
==========,==========,==========,==========,==========,==========
Number,Component,Ret.Time,Peak Area,Normalized%
1,"Eludium Q-36",38.8000,80795.3700,100.0000
==========,==========,==========,==========,==========,==========
Year,SolarLongitude,Hour,Minute,Second
"75","123","12","34","56"  

Technical References

https://www.planetary.org/articles/mars-calendar
https://en.wikipedia.org/wiki/Timekeeping_on_Mars#Martian_calendars
https://en.wikipedia.org/wiki/Julian_day
https://en.wikipedia.org/wiki/Year#Besselian_year
https://en.wikipedia.org/wiki/Universal_Time  

Contributors:

Philip D. Stubbs, Test Engineer & Software Support Lead
Marvin T. Martian, Chief Engineer & Technical Design Lead
Wylie E. Coyote, Safety Engineer & Simulation Analyst  

a.c.m.e.-atomicjetengines-'s People

Contributors

cowseatgrass avatar

Stargazers

 avatar

Watchers

 avatar

a.c.m.e.-atomicjetengines-'s Issues

C# Core - Measurement Sample Location

============================================
C# Core - Console App

Splash Screen with Live Status
10s Update Rate with Timer
Supports 3 Sample Locations (Explicitly) & Other/None (Implicitly)
Error Handling for %File% Not Found


Convert CSV String to INI Boolean True (or NULL)

Input=MarsDataRaw.csv
Row="Comments"
ValidStrings="TurbineHP" OR "TurbineLP" OR "Nozzle"

Output=EarthDataRaw.ini
[MeasureLoc]
TurbineHP=1 OR Nan
TurbineLP=1 OR Nan
Nozzle=1 OR Nan

C# .NET - Measurement Sample Location

============================================
C# .NET - Console App

Splash Screen with Live Status
10s Update Rate with Timer
Supports 3 Sample Locations (Explicitly) & Other/None (Implicitly)
Error Handling for %File% Not Found


Convert CSV String to INI Boolean True (or NULL)

Input=MarsDataRaw.csv
Row="Comments"
ValidStrings="TurbineHP" OR "TurbineLP" OR "Nozzle"

Output=EarthDataRaw.ini
[MeasureLoc]
TurbineHP=1 OR Nan
TurbineLP=1 OR Nan
Nozzle=1 OR Nan

Windows CMD Shell - Measurement Sample Location

============================================
Win CMD Shell - Console App

Splash Screen with Live Status
10s Update Rate with Timer
Supports 3 Sample Locations (Explicitly) & Other/None (Implicitly)
Error Handling for %File% Not Found


Convert CSV String to INI Boolean True (or NULL)

Input=MarsDataRaw.csv
Row="Comments"
ValidStrings="TurbineHP" OR "TurbineLP" OR "Nozzle"

Output=EarthDataRaw.ini
[MeasureLoc]
TurbineHP=1 OR Nan
TurbineLP=1 OR Nan
Nozzle=1 OR Nan

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.