You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ll2xy vs latlon2statgrid and xy2ll vs statgrid2latlon


Tools to convert between latitude, longitude and gridpoints/distance for a given simulation domain.

Common Properties

  •  Accept 2 (x, y) or 3 (x, y, station) values. The 3rd value is copied to output.
ll2xy and xy2lllatlon2statgrid and statgrid2latlonNotes
can work on standard input or filesmust work on files onlyll2xy more flexible, can use pipes instead of files
xy I/O is in km from centrestatgrid I/O is point position from top left cornercan convert between output styles given:
horizontal spacing and total domain size
given model grid point ll coordinates,
resulting x, y values are equidistant
incremental statgrid points converted to lat lon plotted:
are not equidistant and are systematically shifted
some points are out of place compared with neighbours 
this is why ll2xy and xy2ll has a wrapper function
to make sure converted points are equidistant
given horizontal spacing or grid point increments. 

 


  • No labels