14.04.2013 Views

View full document (in Spanish) [PDF 4.60 MB] - PreventionWeb

View full document (in Spanish) [PDF 4.60 MB] - PreventionWeb

View full document (in Spanish) [PDF 4.60 MB] - PreventionWeb

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

C A P I T U L O III<br />

% <strong>in</strong> roms <strong>in</strong>itial and forc<strong>in</strong>g files %<br />

Ym<strong>in</strong> = 2008; % first forc<strong>in</strong>g year<br />

Ymax = 2008; % last forc<strong>in</strong>g year<br />

Mm<strong>in</strong> = 1; % first forc<strong>in</strong>g month<br />

Mmax = 2; % last forc<strong>in</strong>g month<br />

%<br />

Dm<strong>in</strong> = 1; % Day of <strong>in</strong>itialization<br />

Hm<strong>in</strong> = 0; % Hour of <strong>in</strong>itialization<br />

M<strong>in</strong>_m<strong>in</strong> = 0; % M<strong>in</strong>ute of <strong>in</strong>itialization<br />

Sm<strong>in</strong> = 0; % Second of <strong>in</strong>itialization<br />

%<br />

SPIN_Long = 0; % SPIN-UP duration <strong>in</strong> Years<br />

Para realizar la corrida es necesario efectuar los siguientes<br />

análisis (no todos son <strong>in</strong>dispensables, pero es recomendable<br />

realizarlos todos, para asegurar una mayor veracidad<br />

en los resultados) ROMS file names (grid, forc<strong>in</strong>g, bulk, climatology,<br />

<strong>in</strong>itial)<br />

Luego desde Matlab:<br />

>>start<br />

>>make_grid<br />

>>make_NCEP<br />

>>make_clim<br />

>>make_bry<br />

(en el caso de que make_NCEP no haya podido hacer el<br />

forc<strong>in</strong>g y el bulk)<br />

>>make_forc<strong>in</strong>g<br />

>>make_bulk<br />

se regresa a la term<strong>in</strong>al donde se corre el ejecutable jobcomp<br />

./jobcomp<br />

y f<strong>in</strong>almente<br />

./roms roms.<strong>in</strong><br />

si el proceso es correcto, desde matlab escribir<br />

>>roms_gui<br />

y a través del menú se abre en ROMSFILES el archivo roms_<br />

avg.nc<br />

3.1.4 Visualizadores<br />

3.1.4.1 GrADS<br />

1.- Crear un directorio en /usr/local/GrADS<br />

2.- Descargar<br />

wget ftp://ftp.ucar.edu/mesouser/MM5V3/MM5to-<br />

GrADS.TAR.gz<br />

3.- Descomprimir tar -xvzf MM5toGrADS.TAR.gz<br />

3.1.4.2 Vis5D<br />

TOVIS5D<br />

1.- $tar -xvzf tovis5d. $tar.gz<br />

42<br />

Se creará la carpeta TOVIS5D<br />

2.- Editar el Makefile como sigue:<br />

l<strong>in</strong>ux:<br />

cd src/ ; $(MAKE) target \<br />

“FC = ifort” \<br />

“FCFLAGS =free DLINUX I.<br />

convert big_ endian” \<br />

“CCFLAGS =g DLITTLE DUNDERSCORE c” \<br />

“LIBS =Vaxlib “<br />

$(RM) tovis5d ; $(LN) src/tovis5d .<br />

luego tovis5d.csh se debe mostrar como sigue:<br />

if ( ! e $1 ) then<br />

echo “The file $1 does not exist”<br />

exit 1<br />

endif<br />

tovis5d $1 >&! tovis5d.log<br />

3.- Compilar<br />

$ make l<strong>in</strong>ux<br />

Las opciones para la predicción:<br />

!/b<strong>in</strong>/csh f<br />

set echo<br />

cat >! user.<strong>in</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!