Grid indexing in tslist

This post was from a previous version of the WRF&MPAS-A Support Forum. New replies have been disabled and if you have follow up questions related to this post, then please start a new thread from the forum home page.

michael3911

New member
Hello,

I am interested what kind of indexing does WRF tslist feature use in *.TS files. I found a difference of (1,1) between *.TS files and ncl function wrf_user_ll_to_xy output. I found this ncl function uses 0-based indexing. The altitude in both outputs is the same (neglecting rounding error). So I suppose tslist uses 1-based indexing and this behavior is correct. I my guess right?

Thank you very much for help.
Michael
 
You are right. In WRF, the index starts from 1, following the Fortran style. But NCL follows the 0-indexing rule.
 
Back
Top