Overview %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%
%nakedsoftware.org opensource license, copyright 2010 % %developed by Stephane Poirier, M.Sc. Optical Physics, Remote Sensing Application Software Developer ( ) % %this function is part of oifii.org's ar\sp\ Microwave- derived 30-year Canada-Alaska Daily Temperature and Snowcover Databases library % %this function is part of oifii.org's ar\sp\'this folder' application (lauched with ar\sp\'this file'.m) %oifii.org's ar\sp\affiche_carte application is part of the oifii.org's ar\sp set of applications which %may also contain similar variant versions of this function with identical filename. % %A geophysical research paper about this work has been submitted in June 2009 for publication in JGR-Atmosphere %Royer, A. and Poirier S., Surface temperature spatial and temporal variations in North America from homogenized %satellite SMMR-SSM/I microwave measurements and reanalysis for , Journal of Geophysical Research - Atmosphere, %Submitted June 2009, Poirier_Microwave-derived-daily-surface- temperature_JGR2009JD012760_R2.pdf % %This study's database can be downloaded from the author web site at: % daily-surface-temperature-db_ zip % %this function is used to display the raw microwave raster data (NSIDC's SMMR and SSMI satellite, ref. nsidc.org) % %usage: % 20yymmmdd % %version 0.0, 20yymmmdd, spi, initial function draft % %nakedsoftware.org opensource license, copyright 2010
%%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%
%fonction pour creer une matrice qui fait correpondre 1 latitude et 1 longitude de la grille can3d300 a 1 couple (r,s) de la ease grid function [grille]=latlon2easegrid(longitude,latitude); % Inputs : % latitude et longitude sont des vecteurs de la grille can3d300 % grille : matrice contenant m latitude x n longitude x 4 % 4 info : latitude de chacun des points % longitude de chacun des points % r dans ease grid % s dans ease grid % FCT ASSOCIEES : % - [r,s]=latlon2pix(lon,lat) ; [lon_can3d300,lat_can3d300]=meshgrid(longitude,latitude); % n x 1 ; m x 1 % lon_era et lat_era sont des grilles de m lignes et n colonnes % lon_era = les longitudes % lat_era = les latitudes [r,s]=latlon2pix(lon_can3d300,lat_can3d300); r=round(r); s=round(s); % r et s sont des matrices des m latitude x n longitude grille(:,:,1)=lat_can3d300; grille(:,:,2)=lon_can3d300; grille(:,:,3)=r; grille(:,:,4)=s;