{"id":7391,"date":"2019-06-10T19:34:15","date_gmt":"2019-06-10T19:34:15","guid":{"rendered":"https:\/\/cyflexdoc.wpengine.com\/?page_id=7391"},"modified":"2019-06-10T19:55:41","modified_gmt":"2019-06-10T19:55:41","slug":"cvs_file_naming","status":"publish","type":"page","link":"https:\/\/cyflex.com\/index.php\/usage-help-manual\/21-emissions-measurement-and-calculation\/cvs_file_naming\/","title":{"rendered":"cvs_file_naming"},"content":{"rendered":"<h3>Purpose:<\/h3>\n<dl>\n<dd>\n<p>This script takes ESVD information as input and produces full path filename.\u00a0 In effect this implements the directory structure for the ESVD files.<\/p>\n<\/dd>\n<\/dl>\n<h3>Notes:<\/h3>\n<dl>\n<dt>\n<p>Input:<\/p>\n<p>FILE_TYPE &#8211; The type of filename to generate. This must be from a fixed list or an error is generated.<br \/>\n\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 e.g. LOGR, CI_SPECS, &#8230;<br \/>\nEach FILE_TYPE will require different arguments. Common arguments<br \/>\ninclude:<br \/>\n\u00a0\u00a0\u00a0 TPID &#8211; Test Plan ID<br \/>\n\u00a0\u00a0\u00a0 TC &#8211; Test Configuration or Torque Curve<br \/>\n\u00a0\u00a0\u00a0 STEP &#8211; Step<br \/>\n\u00a0\u00a0\u00a0 RUN &#8211; Run number<\/p>\n<p>Output:<\/p>\n<p>To stdout, a full directory path and filename for the requested FILE_TYPE<br \/>\nstatus &#8211; Returns 0 on successful execution, non-zero and messages to stdout otherwise. So be sure to test the return code before looking at the results.<\/p>\n<p>FILE_TYPE and arguments:<\/p>\n<p>\u00a0 CREATE TPID [TC [STEP ] ] &#8211; Creates last directory in list if needed.<br \/>\n\u00a0 CI_SPECS TPID &#8211; Customer input specs<br \/>\n\u00a0 LOGR_SPEC TPID &#8211; Customer logr input specs<br \/>\n\u00a0 REFERENCE_CYCLE_NORMALIZED REF_CYCLE &#8211; Normalized reference cycle file.<br \/>\n\u00a0 ESVD_SPECS <\/p>\n<p>\u00a0 TCA_LOGR TPID TC- TCA Logr output data file.<br \/>\n\u00a0 TCA_LOGR_SPEC &#8211; TCA Logr spec file.<br \/>\n\u00a0 TCA_3D_CAL_TABLE TPID TC &#8211; TCA 3-D calibration table output file.<br \/>\n\u00a0 TCA_REPORT TPID TC &#8211; TCA report output file.<br \/>\n\u00a0 TCA_STAR_3 TPID TC &#8211; TCA *3 output file.<\/p>\n<p>\u00a0 ECG_FURBALL TPID TC REF_CYCLE &#8211; ECG reference cycle output file.<br \/>\n\u00a0 ECG_STAR_6 TPID TC REF_CYCLE &#8211; ECG *6 output file.<br \/>\n\u00a0 ECG_REPORT TPID TC REF_CYCLE &#8211; ECG report output file.<br \/>\n\u00a0 ECG_STAR_3 TPID TC REF_CYCLE &#8211; ECG *3 output file.<\/p>\n<p>\u00a0 EM_STAR5_4_8 TPID TC STEP RUN &#8211; Emissions *5 file, record group 4 codes 4 &#8211; 8.<br \/>\n\u00a0 EM_LOGR_FILE TPID TC STEP RUN &#8211; Emissions logr output data file .<br \/>\n\u00a0 EM_LOGR_SPEC TPID &#8211; Emissions logr spec file.<br \/>\n\u00a0 EM_STAR5 TPID TC STEP RUN &#8211; Emissions *5 file.<br \/>\n\u00a0 EM_STAR0 TPID TC STEP RUN &#8211; Emissions *0 file.<br \/>\n\u00a0 EM_STAR0_CHNS TPID &#8211; Emissions data channels file.<\/p>\n<\/dt>\n<\/dl>\n<dl>\n<dd>\n<p>&nbsp;<\/p>\n<\/dd>\n<\/dl>\n","protected":false},"excerpt":{"rendered":"<p>Purpose: This script takes ESVD information as input and produces full path filename.\u00a0 In effect this implements the directory structure for the ESVD files. Notes: Input: FILE_TYPE &#8211; The type of filename to generate. This must be from a fixed list or an error is generated. \u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0\u00a0 e.g. LOGR, CI_SPECS, &#8230; Each FILE_TYPE will require [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"parent":1952,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-7391","page","type-page","status-publish","hentry"],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7391","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/comments?post=7391"}],"version-history":[{"count":0,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/7391\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/pages\/1952"}],"wp:attachment":[{"href":"https:\/\/cyflex.com\/index.php\/wp-json\/wp\/v2\/media?parent=7391"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}