Importing Met data into CONCEPT

 

The met data importing routines require two separate steps.  First, the MM5 output data is read and reformatted using the fortran programs located in the mm5_met_interface directory.  The CONCEPT execution script can then be used to import the met data into SQL table format and the CONCEPT structure.

 

Reading the MM5 output.

 

1.Edit the control script.

 

 

Under /concept/mm5_met_interface, the mm5v3_concept.sc script needs to be altered to include the location and names of the MM5 files to be processed, the grid offsets required between the met model and the emissions model, and the run dates required.

 

mm5v3_concept.sc

 

# MM5, SATELITE

cat > control << -EOF-

PAR Technique      |MM5        

Start/end date     |02070600 02070623

CONCEPT grid size  |147, 111

CONCEPT Dx, Dy     |36. 36.

CONCEPT grid offset| 8,  8

Concept File       |../../concept_projects/projectname/scenarioname/met_data/concept_met.txt

# MM5 files to proc| 7

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_00.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_01.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_02.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_03.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_04.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_05.jul05_02.v02_aaa

MM5 filename       |mm5_test_data/MMOUT_DOMAIN1_06.jul05_02.v02_aaa

-EOF-

 

src/mm5concept.linux < control > log

 

 

Fields to alter:

Start/end date: YYMMDDHH

CONCEPT grid size: Number of Xcells, number of Ycells

CONCEPT Dx, Dy : Size, in Kilometers, of the CONCEPT emissions grid cells

CONCEPT grid offset: This is the offset number of cells between the met grid structure and the CONCEPT structure.  You need to know what the met grid definitions are, to pull the correct emissions subset.

CONCEPT File: Location of the met file ready for input into CONCEPT, using the projectname and scenarioname defined in CONCEPT.  For this example the file location should be: ../../concept_projects/beta3/scenario1/met_data/concept_met.txt

 

The names and number of MM5 output files needed for the episode days should then be listed.  This example refers to the sample MM5 files included in /mm5_test_data, but these files may be located anywhere that is accessible to your system.

 

2. Run the MM5 interface script

 

sh mm5v3_concept.sc

 

3. Import to CONCEPT

 

From the CONCEPT directory, invoke the CONCEPT command:

 

concept import_metdata – n beta3 –s scenario –d  ../concept_projects/beta3/scenario1/met_data

 

This will create the CONCEPT SQL table met_date in project=beta3, scenario =scenario1

The met data in now ready for use by any of the CONCEPT models.