• 제목/요약/키워드: R script

검색결과 43건 처리시간 0.021초

농업 기후 정보 생산을 위한 미래 기후 자료 처리 GrADS 및 R 프로그램 구현 (Implementation of GrADS and R Scripts for Processing Future Climate Data to Produce Agricultural Climate Information)

  • 이규종;이세미;이변우;김광수
    • 대기
    • /
    • 제23권2호
    • /
    • pp.237-243
    • /
    • 2013
  • A set of scripts for GrADS (Grid Analysis and Display System) and R was implemented to produce agricultural climate information using the future climate scenarios based on the Representative Concentration Pathways. The GrADS script was used to calculate agricultural climate indices including growing degree days and cooling degree days. The script generated agricultural climate maps of these indices, which are compatible with common Geographic Information System (GIS) applications. To perform a statistical analysis using the agricultural climate maps, a script for R, which is open source statistical software, was used. Because a large number of spatial climate data were produced, parallel processing packages such as SNOW, doSNOW, and foreach were used to perform a simple statistical analysis in the R script. The parallel script of R had speedup on workstations with multi-CPU cores.

DigitalMicrograph Script Source Listing for a Geometric Phase Analysis

  • Kim, Kyou-Hyun
    • Applied Microscopy
    • /
    • 제45권2호
    • /
    • pp.101-105
    • /
    • 2015
  • Numerous digital image analysis techniques have been developed with regard to transmission electron microscopy (TEM) with the help of programming. DigitalMicrograph (DM, Gatan Inc., USA), which is installed on most TEMs as operational software, includes a script language to develop customized software for image analysis. Based on the DM script language, this work provides a script source listing for quantitative strain measurements based on a geometric phase analysis.

스크립트 언어를 사용한 DSSAT 모델 기반 격자형 작물 생육 모의 시스템 개발 (Development of a gridded crop growth simulation system for the DSSAT model using script languages)

  • 유병현;김광수;반호영
    • 한국농림기상학회지
    • /
    • 제20권3호
    • /
    • pp.243-251
    • /
    • 2018
  • 작물 생산량의 시 공간적 분석은 정책입안자와 이해관계자들에게 중요한 정보를 제공할 수 있으나, 이를 위해서는 공간적 기상자료를 처리하고 이에 맞추어 작물 모형을 구동할 수 있는 작업들이 필요하다. 이에 따라 DSSAT (Decision Support System for Agrotechnology Transfer)을 기반으로 지역내 작물 생산성 자료를 생산할 수 있는 자동화 시스템을 개발하고자 하였다. 이 시스템은 전문적인 컴퓨터 프로그래머가 아니더라도 사용가능한 R과 shell script를 기반으로 개발되었다. 먼저, 격자형 기상자료의 각 격자에 해당하는 정보를 텍스트 형식의 기상 입력자료 형식으로 변환하는 기능을 가지는 모듈을 작성하였다. 다음으로 R 패키지를 사용하여 GIS자료 처리와 병렬 처리기능이 구현된 R script을 작성하였다. 또한, 작물 모델을 자동으로 구동하는 기능을 shell script를 사용하여 구현하였다. 사례 연구로, 미국 Illinois 주에서 콩의 최대 수량을 얻을 수 있는 재배관리 조건의 공간적인 분포를 파악하고자 하였다. 개발된 도구를 통해 AgMERRA 자료로부터 Illinois 주의 1981 - 2005년 까지의 기상입력자료를 생산하였다. 해당 지역에서 1개의 CPU 코어를 사용하여 1년간의 자료를 처리하기 위해 7.38 시간이 걸렸으나, 병렬처리를 통해 16개의 CPU 코어를 사용하였을 때 처리 시간이 크게 줄어, 35분만에 처리가 가능하였다. 이렇게 생산된 기상 입력자료들을 작물 모형 자동 구동 시스템에 활용하여 해당 지역에서의 최대 수량과, 최대 수량을 가지는 성숙군 및 파종일 지도를 작성할 수 있었다. 특히, 본 연구에서 개발된 도구는 DSSAT 모델뿐만 아니라 국내에서 사용되는 다른 작물모델들에게 적용될 수 있어 공간적 작물 생산성 평가에 도움을 줄 수 있을 것으로 보인다.

Meter Configuration Script를 이용한 DLMS/COSEM 계량기 S/W 설계 방법에 대한 연구 (The study on the design method for DLMS/COSEM meter S/W using Meter Configuration Script)

  • 임창준;한광수;김병섭;김종배;정남준
    • 대한전기학회:학술대회논문집
    • /
    • 대한전기학회 2006년도 추계학술대회 논문집 전력기술부문
    • /
    • pp.108-110
    • /
    • 2006
  • 계량기의 시장이 독점 시장에서 자유 시장으로 천이 되면서 시장은 계량기의 상호운용능력과 계량기의 지능, 관리능력 그리고 보안등의 부가적인 기능들을 요구 하게 되었다. 이러한 시장의 요구에 맞추어 DLMS 프로토콜을 표준으로 하고 COSEM 오브젝트 모델링 기법을 사용하는 계량기 표준인 IEC 62056이 제정되었다. 본 논문에서는 IEC 62056에서 정의한 프로토콜 및 서비스에 적합한 DLMS/COSEM 계량기의 S/W 아키텍처 및 그 설계 방법을 제안한다. 계량기 S/W는 크게 MCS와 MOM으로 구성되며, MCS는 계량기의 모델링 스크립트로 COSEM 오브젝트와 계량기의 구체적인 기능을 명시하고, MOM은 MCS를 읽어 계량기를 구동 시키는 모듈로 MCS에서 선언된 기능 및 동작을 해석하여 계량기를 전기, 가스, 수도 등의 기능을 갖는 계량기로 동작시키는 역할을 한다.

  • PDF

Development of Dark Field image Processing Technique for the Investigation of Nanostructures

  • Jeon, Jongchul;Kim, Kyou-Hyun
    • 한국분말재료학회지
    • /
    • 제24권4호
    • /
    • pp.285-291
    • /
    • 2017
  • We propose a custom analysis technique for the dark field (DF) image based on transmission electron microscopy (TEM). The custom analysis technique is developed based on the $DigitalMicrograph^{(R)}$ (DM) script language embedded in the Gatan digital microscopy software, which is used as the operational software for most TEM instruments. The developed software automatically scans an electron beam across a TEM sample and records a series of electron diffraction patterns. The recorded electron diffraction patterns provide DF and ADF images based on digital image processing. An experimental electron diffraction pattern is recorded from a IrMn polycrystal consisting of fine nanograins in order to test the proposed software. We demonstrate that the developed image processing technique well resolves nanograins of ~ 5 nm in diameter.

EFMDR-Fast: An Application of Empirical Fuzzy Multifactor Dimensionality Reduction for Fast Execution

  • Leem, Sangseob;Park, Taesung
    • Genomics & Informatics
    • /
    • 제16권4호
    • /
    • pp.37.1-37.3
    • /
    • 2018
  • Gene-gene interaction is a key factor for explaining missing heritability. Many methods have been proposed to identify gene-gene interactions. Multifactor dimensionality reduction (MDR) is a well-known method for the detection of gene-gene interactions by reduction from genotypes of single-nucleotide polymorphism combinations to a binary variable with a value of high risk or low risk. This method has been widely expanded to own a specific objective. Among those expansions, fuzzy-MDR uses the fuzzy set theory for the membership of high risk or low risk and increases the detection rates of gene-gene interactions. Fuzzy-MDR is expanded by a maximum likelihood estimator as a new membership function in empirical fuzzy MDR (EFMDR). However, EFMDR is relatively slow, because it is implemented by R script language. Therefore, in this study, we implemented EFMDR using RCPP ($c^{{+}{+}}$ package) for faster executions. Our implementation for faster EFMDR, called EMMDR-Fast, is about 800 times faster than EFMDR written by R script only.

바코드, 큐알코드와 데이터베이스를 활용한 화장품 원료 칭량 및 벌크제조 관리시스템 구축 (Establishment of Cosmetic Raw Material Weighing and Bulk Manufacturing Management System Using Bar Code, QR Code and Database)

  • 이청희;배준태;홍진태
    • 대한화장품학회지
    • /
    • 제45권3호
    • /
    • pp.277-285
    • /
    • 2019
  • 본 연구는 바코드나 큐알코드를 활용하는 데이터베이스를 개발하여 화장품 제조에 필요한 원료를 효과적으로 칭량하고 벌크 제조를 관리하는 시스템을 구축하기 위하여 수행하였다. 원료 라벨과 벌크 제조를 위한 칭량 라벨은 데이터베이스에 입력된 정보를 활용하여 Medi&Co의 프린트 컴포넌트인 ScriptX를 이용하여 웹 상에서 발행하였다. 칭량과 투입 과정을 스캐너와 태블릿, PC 등을 이용하여 확인하여 화장품 벌크 생산시 가장 많은 오류 원인인 오칭량이나 오투입에 의한 제품 이상 발생을 감소시킬 수 있었다. 결론적으로 바코드와 큐알코드를 활용하는 데이터베이스를 화장품 제조에 적용하면 공정 중에서 발생하는 여러 가지 문제점을 감소시켜 화장품의 품질관리와 생산성 효율을 증대시킬 수 있다.

Beryllium Effects on the Microstructure and Mechanical Properties of A356 Aluminium Casting Alloy

  • Lee, Jeong-Keun;Kim, Myung-Ho;Choi, Sang-Ho
    • 한국주조공학회지
    • /
    • 제18권5호
    • /
    • pp.431-438
    • /
    • 1998
  • Microstructure of A356 aluminum alloys cast in the permanent mold was investigated by optical microscope and image analyzer, with particular respect to the shape and size distribution of iron intermetallics known as ${\beta}-phase$ ($Al_5FeSi$). Morphologies of the ${\beta}-phase$ was found to change gradually with the Be:Fe ratio like these. In Be-free alloys, ${\beta}-phase$ with needlelike morphology was well developed, but script phase was appeared when the Be:Fe ratio is above 0.2:1. With the Be:Fe ratios of 0.4:1-1:1, script phase as well as Be-rich phase was also observed. In case of higher Be addition, above 1:1, Be-rich phase was observed on all regions of the specimens, and increasing of the Be:Fe ratios gradually make the Be-rich phase coarse. It was also observed that the ${\beta}-phase$ with needlelike morphology was coarsened with increase of the Fe content in Be-free alloys. However, in Be-added alloys, length and number of these ${\beta}-phases$ were considerably decreased with the increased Be:Fe ratio. Beryllium addition improved tensile properties and impact toughness of the A356 aluminium alloy, due to the formation of a script phase or a Be-rich phase instead of a needlelike ${\beta}-phase$. The DSC tests indicated that the presence of Be could increase the amount of Mg which is available for $Mg_2Si$ precipitate hardening, and enhance the precipitation kinetics by lowering the ternary eutectic temperature.

  • PDF

An Empirical Testing of a House Pricing Model in the Indian Market

  • HODA, Najmul;JAFRI, Syed Ashraf;AHMAD, Naim;HUSSAIN, Syed Mannawar
    • The Journal of Asian Finance, Economics and Business
    • /
    • 제7권8호
    • /
    • pp.33-40
    • /
    • 2020
  • The main aim of the study is to test a house pricing model by combining hedonic and asset-based pricing models. An understanding of the relationship between house pricing and its return (the rental income) helps to establish houses as a significant asset class. The model tested the relationship between house pricing (dependent variable) and the house attributes (independent variables) derived from Freeman's framework of housing attributes. This study uses a large data-set of 1,899 sample of new, high-end houses purchased between 2016 and 2019 collected from the national capital region of India (Delhi-NCR). The algorithm was built in R-Script, and stepwise multiple linear regression was used to analyze the model. The analysis of the model proves that the three significant variables, namely, carpet area, pay-off, and annual maintenance charges explain the price function. Further, the model is statistically fit. The major contribution of the study is to understand the key factors and their influence on the house pricing. The model will be helpful in risk assessment in the housing investment and enhance the chances of investment. Policy-makers can use information about the underlying valuation drivers of the house prices to stabilize the market and also in framing the tax policies.