Presentation is loading. Please wait.

Presentation is loading. Please wait.

Overview %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%

Similar presentations


Presentation on theme: "Overview %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%"— Presentation transcript:

1 Overview %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%

2

3

4 %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: %http://www.oifii.org/tsatdb/Royer-Poirier_Microwave-derived- 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

5 %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%

6 fct pour lire les données moy ete ; moy hiver ; ecart type ete ; ecart type hiver et seuil

7 function [mete,etete,s]=lire_moyecartseuil(zone,dataset,phase,pol,an,p athratio); prevdir=pwd; testcanada=strcmp(zone,'canada'); testrussie=strcmp(zone,'russie'); testtibet=strcmp(zone,'tibet'); if testcanada == 1 dim=[ ]; %cd(pathutilities); m=masque(2,2); elseif testrussie == 1 dim=[ ]; %cd(pathutilities); m=masque(7,2); elseif testtibet == 1 dim=[90 180]; end phase=lower(phase); %spi, april 2009, begin %direction=[pathratio,filesep,'ratio_',zone,filesep,'fichier_ moyecarttype',filesep,int2str(an)]; direction=[pathratio,filesep,'ratio_',zone,filesep,'fichier_m oyecarttype']; MOY_ETE=1; MOY_HIVER=2; ECART_ETE=3; ECART_HIVER=4; SEUIL_ETE=5; fichierssortie={['moyete',lower(phase),int2str(an)] ['moyhiver',lower(phase),int2str(an)] ['ecarttypeete',lower(phase),int2str(an)] ['ecarttypehiver',lower(phase),int2str(an)] ['seuilete',lower(phase),int2str(an)]}; feval('cd',direction); clear(direction); %fichiermoyete=['moyete',phase]; f1=fopen(fichierssortie{MOY_ETE},'r'); mete=fread(f1,[dim(1) dim(2)],'float32'); mete=mete.*m; fclose(f1);clear f1; %fichiermoyhiver=['moyhiver',phase]; f2=fopen(fichierssortie{MOY_HIVER},'r'); mhiver=fread(f2,[dim(1) dim(2)],'float32'); mhiver=mhiver.*m; fclose(f2);clear f2; %fichierstdete=['ecarttypeete',phase]; f3=fopen(fichierssortie{ECART_ETE},'r'); etete=fread(f3,[dim(1) dim(2)],'float32'); etete=etete.*m; fclose(f3);clear f3; %fichierstdhiver=['ecarttypehiver',phase]; f4=fopen(fichierssortie{ECART_HIVER},'r'); ethiver=fread(f4,[dim(1) dim(2)],'float32'); ethiver=ethiver.*m; fclose(f4);clear f4; %fichierseuil=['seuilete',phase]; f5=fopen(fichierssortie{SEUIL_ETE},'r'); s=fread(f5,[dim(1) dim(2)],'float32'); s=s.*m; fclose(f5);clear f5; cd(prevdir); %spi, april 2009, end


Download ppt "Overview %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%%%%%% %%%%%%%"

Similar presentations


Ads by Google