Hi,
I just saw that in the data assimilation flag WC13, there is a cpp definition #SPHERICAL turned on.
In cppdefs it mentions "use if analytical spherical grid".
Obviously it's nothing associated with the flag spherical in the grid file,
which is a flag for if it's in realistic lon,lat coordinate or not.
Anyone could suggest when we should define this in cpp?
Thanks much,
Yizhen
What does CPP flag # SPHERICAL do?
-
- Posts: 11
- Joined: Tue Aug 21, 2007 5:44 pm
- Location: North Carolina State University
Re: What does CPP flag # SPHERICAL do?
The way to know for sure is to search for that string in the source files and see what's there.
-
- Posts: 11
- Joined: Tue Aug 21, 2007 5:44 pm
- Location: North Carolina State University
Re: What does CPP flag # SPHERICAL do?
Thanks Kate.kate wrote:The way to know for sure is to search for that string in the source files and see what's there.
It appears in ana_grid only, and it's only used in analytical grid applications.
Functionals/ana_grid.h:#ifdef SPHERICAL
Therefore in WC13 4DVAR experiment, SPHERICAL option was not really turned on, although
the log file shows it because:
Utility/checkdefs.F: IF (Master) WRITE (stdout,20) 'SPHERICAL', &
Regards,
Yizhen