CMASCenter / Speciation-Tool

The Speciation Tool is a stand-alone tool that was developed to generate the factors needed to convert the emission inventory components to the AQM lumped modeling compounds. The conversion process is referred to as ‘speciation’. The factors are referred to as ‘split factors’; i.e. we ‘split’ total VOCs to olefins, aldehydes, etc. The ‘chemical mechanism’ is the mapping of the emission inventory pollutants to the AQM compounds.
17 stars 4 forks source link

“createlang: command not found” #1

Closed Xiao-tuo closed 3 years ago

Xiao-tuo commented 3 years ago

Hi, all My PostgreSQL version is 13. createlang had been deprecated since PostgreSQL 9.1. Should I lower the pgSQL version?

------

I install PostgreSQL 9.0.0 and it works and i test, but can't not found file _mechanismdescription.7Feb2020.txt and _mechanismforImport.11Feb2020.csv so,I make ln -s follow: mechanism_description.7Feb2020.txt -> sptool_mechanism_description_speciate5_0_04mar2020_v0.csv mechanism_forImport.11Feb2020.csv -> mechanism_forImport_11Feb2020_speciate5_0_withSOAALK_13mar2020_v0.csv Howerve, i run _init_sptooldbv5.0.csh , it crushed,

parse() failed on argument: "RACM2_AE7", “Regional Atmospheric Chemistry Mechanism version 2 (RACM2) for CMAQ AERO7 aerosol scheme”, Y,"Ramboll Greg Yarwood provided mechanism per spreadsheet Mechanism_mappings_for_SPECIATE5_25June2020.xlsx on 29Jun2020","",""

_Parse failed at record 11 ERRORS: Terminating import. Correct the formatting problem and rerun. ERROR: perl script failed for importing mechanism descriptions file /nwp/bx_xt/model/Speciation-Tool/import_data/mechanismdescription.7Feb2020.txt

Please help me. thanks!

BEST xt

---

ok ,i do it

yshi-ramboll commented 3 years ago

Hi Xiao-tuo,

Thank you for your feedback. We have updated the following files to address the issue you brought up: ./Assigns.sptool ./import_data/sptool_mechanism_description_speciate5_0_04mar2020_v0.csv

Please let us know if you see other issues, thank you!