Scheduled Downtime
On Tuesday 24 October 2023 @ 5pm MT the forums will be in read only mode in preparation for the downtime. On Wednesday 25 October 2023 @ 5am MT, this website will be down for maintenance and expected to return online later in the morning.
Normal Operations
The forums are back online with normal operations. If you notice any issues or errors related to the forums, please reach out to help@ucar.edu

Using AODVIS computed in modal_aer_opt within the nudging module

david_fillmore

David Fillmore
New Member
Hi -

We are looking at various approaches to nudging aerosol tracers with external MODIS AOD data.
In order to avoid replicating the AOD calculation from aerosol mixing ratios that is done in the modal_aer_opt module,
we would like to simply use the aodvis array in the nudging module, along with an externally ready MODIS column AOD, to compute target aerosol Q's.

Is there are preferred way to copy the AODVIS into the nudging module?
 

peverley

Courtney Peverley
Moderator
Staff member
Hi Dave,

Thought I'd write out what we suggested to you and Toni in person, in case anyone else comes across this forum post and wants to know...

You can add the aodvis array to the pbuf by:
1. Add an pbuf_add_field() call anywhere in the code before you're calculating aodvis
2. Before you calculate aodvis in modal_aer_opt.F90, add pbuf_get_index() and pbuf_get_field() [using the index retrieved by the previous call and the local aodvis variable]
3. In the nudging module, add pbuf_get_index() and pbuf_get_field() calls and then it's there for you to use.

Court
 
Top