DssatCulParser
DSSAT 품종 파일(*.CUL)을 파싱하여 ICASA 모델로 변환하는 파서입니다. AgMIP의 DssatCulFileInput.java 기능을 C#으로 구현했습니다.
Methods
public method ExtractCropCodeFromHeader(System.String)
헤더 줄(*MAIZE ...)에서 작물 코드를 추정합니다.
public method ParseColumnHeaders(System.String)
'@'로 시작하는 헤더 라인을 분석하여 각 컬럼의 시작 위치와 길이를 계산합니다.
public method ParseCultivarLine(System.String,System.Collections.Generic.Dictionary{System.String,System.ValueTuple{System.Int32,System.Int32}},System.String)
데이터 라인을 파싱하여 IcasaGenotypesEvent 객체를 생성합니다.
public method ParseFileAsync(System.String)
파일 경로에서 .CUL 파일을 비동기로 읽어 파싱합니다.
public method ParseString(System.String)
.CUL 파일의 텍스트 내용을 파싱합니다.