How can I plot polar stereographic projection?
Show older comments
Hello, I have concentration, latitude and longitude data as [m x n] matrices from NSIDC (<http://nsidc.org/data/docs/daac/nsidc0079_bootstrap_seaice.gd.html)>. The data are gridded over polar stereographic grid. Can someone help me to plot sea ice concentration over the Arctic?
Thanks very much, BD
Accepted Answer
More Answers (1)
Chad Greene
on 6 Aug 2018
1 vote
One option is to use Arctic Mapping Tools for Matlab, which includes functions to transform between geo coordinates and polar stereographic coordinates. Also includes many functions such as plotpsn and pcolorpsn which plot lat,lon data in polar stereographic (north) coordinates.
3 Comments
strange_charm
on 17 Jun 2019
Edited: strange_charm
on 17 Jun 2019
How would I go about if I have a [m x n] matrix of 'lat' 'lon' values and a 'Z' value at each point? (I first have the 'lat 'lon' values as individual vectors). The function ll2pn and pcolorpsn require that the 'lat' 'lon' vectors are of equal length. Would I have to regrid the data first to apply the stereographic projection?
Chad Greene
on 17 Jun 2019
You'll need to turn your vectors into grids, and you can do that with one step. It will probably be either:
[Lat,Lon] = meshgrid(lat,lon);
pcolorpsn(Lat,Lon,Z)
or possibly
[Lon,Lat] = meshgrid(lon,lat);
pcolorps(Lat,Lon,Z);
That should be all you need. If you try one of this and it seems to work except that the results are upside down, you might need to do fliplr(lon) or flipud(lon) or fliplr(lat) or flipud(lat) inside the call to meshgrid.
strange_charm
on 17 Jun 2019
Categories
Find more on Map Display in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!