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

Why did the grid be set to two forms with a and b suffixes in the source code of gen_domain.F90

dayon

Member
Dear scientists of NCRA

Sorry to bother you, when I read the code of gen_domain.F90 in tools/ folder, something makes me confused. I want to learn "Why did the grid be set to two forms with a and b suffixes in the source code of gen_domain.F90"?

looking forward your reply, and thank you every much.

Dayon
 

mlevy

Michael Levy
CSEG and Liaisons
Staff member
Hi Dayon,

The other mapping tools typically name the grids _src (to signify the source grid, or where data is being mapped from) and _dst (to signify the destination grid, or where data is being mapped to). However, gen_domain generates output files on both grids (two on the atmosphere grid and one on the ocean grid) so the source / destination labels don't make sense. Therefore we differentiate between them by naming them _a (ocean) and _b (atmosphere).

~Mike
 
Top