Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

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.


New member

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.
You are right. In WRF, the index starts from 1, following the Fortran style. But NCL follows the 0-indexing rule.