Science-for-Nature-and-People / hysplit-batch

Batch processing of HYSPLIT parameter files
BSD 3-Clause "New" or "Revised" License
0 stars 1 forks source link

Adding support for two pollutants #4

Open brunj7 opened 3 years ago

brunj7 commented 3 years ago

From Claire:

The goal of the change we are implementing is to be able to define two PM2.5 pollutants in each simulation (PM2.5 from wildfires and PM2.5 from prescribed burns).

The way we will accomplish this is by defining two pollutants in the CONTROL file (this will be part of the template and will not change run to run) and then in the EMITIMES file we need to have one line per pollutant for each location. So ultimately, we need 2 lines for each emissions release location, with one line being a dummy line for either wildfire or prescribed burn- PM2.5.

How we've set it up is that the first line represents emissions from wildfires and the second line represents emissions from prescribed burns. If the emissions are coming from a wildfire, then the prescribed fire emissions rate will be set to zero. If the emissions are coming from a prescribed burn, then the wildfire emissions rate will be set to zero. This setup allows us to model wildfire and prescribed burn emission in the same model run, and label particles of each type in the out.

I think we need to make to the code is to account for the fact that the CONTROL file needs to pull only every unique location, not every location listed in the EMITIMES, or else we would end up with duplicates.

brunj7 commented 3 years ago

The new parametrization required to:

I could reproduce the new CONTROL file that Claire had shared. I was not sure where the files with two pollutants are located, so I emailed Claire asking her to do more further testing.