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

Both of wrf_user_ll_to_xy in NCL and wrf.ll_to_xy in wrf-python return negative x values.

Yan LIU

New member
I'm trying to compare wrfout file with observations in some locations. I'm pretty sure that all the locations are in the wrf-domain. But when I use wrf_user_ll_to_xy in NCL and wrf.ll_to_xy in wrf-python to get the index of these locations, most of the x values I get are negative. I don't understand why. Is that caused by the projection? I used 'lat-lon' projection.
 

Attachments

  • xy_ncl.png
    xy_ncl.png
    37.2 KB · Views: 4
  • xy_wrfpy.png
    xy_wrfpy.png
    29.7 KB · Views: 5
  • namelist.wps
    759 bytes · Views: 1
Can you upload your python/ncl scripts ?
Of course, Sir. These are my NCL and Python scripts. And I also attached my station's location file.
 

Attachments

  • station_coordinates_xy.txt
    616 bytes · Views: 1
  • ncl_script.txt
    278 bytes · Views: 2
  • python_script.txt
    987 bytes · Views: 3
Top