Professional Documents
Culture Documents
temperatura en la atmosfera
Meteorologa
Introduccin
METEOROLOGAPgina 2
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
TEMPERATURA
METEOROLOGAPgina 4
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
k
1.4 Conductividad Trmica ( )
METEOROLOGAPgina 5
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
ce
1.5 Calor Especfico ( )
METEOROLOGAPgina 6
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
ce
masa, en tanto que la expresa por unidad de
volumen, como se puede advertir a partir de sus
unidades J/kg C y J/m3 C, respectivamente.
METEOROLOGAPgina 7
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
a. Conduccin
Qcond =kA T
(0)
k
Donde es la conductividad trmica del material, A
es el rea perpendicular en la direccin de la
T
transferencia del calor y es el gradiente de
temperatura.
METEOROLOGAPgina 8
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
Donde es la difusividad trmica del material y
representa la rapidez con que se propaga el calor a
travs del mismo.
b. Conveccin
Fundamentos.
METEOROLOGAPgina 9
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
c. Radiacin
Fundamentos.
METEOROLOGAPgina 10
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
CAPITULO 2. TEMPERATURA EL
AMBIENTE
1
http://www.miliarium.com/Prontuario/Tablas/Quimi
ca/PropiedadesTermicas.asp
METEOROLOGAPgina 11
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
CAPITULO 3. HERRAMIENTAS -
SOFTWARE
METEOROLOGAPgina 12
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
NumPy
Matplotlib
BaseMap
2 https://es.wikipedia.org/wiki/NumPy
3 https://es.wikipedia.org/wiki/Matplotlib
METEOROLOGAPgina 13
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
NetCDF4
METEOROLOGAPgina 14
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
PIL
5
http://www.unidata.ucar.edu/software/netcdf/docs/
faq.html#whatisit
6 http://www.pythonware.com/products/pil/
METEOROLOGAPgina 15
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
3.4 Instalacin
Tras descargar Python en archivo .EXE, procedemos a
hacer la tpica instalacin en Windows.
METEOROLOGAPgina 16
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
#leer la data
nc_fid = Dataset("D:/air.sig995.2012.nc",
'r')
METEOROLOGAPgina 17
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
MODELOS
METEOROLOGAPgina 18
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
2 T 1 (
[T x +h , y ,t )2 T ( x , y , t )+T ( xh , y , t ) ]
x 2 h2 (0)
2 T 1 (
[T x , y+ k , t )2T ( x , y , t )+ T ( x , yk ,t ) ]
x2 k2 (0)
nc_fid.variables
METEOROLOGAPgina 19
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
# mascara
offset = dt.timedelta(hours=48)
# da formato de fecha a los datos en time
dt_time = [dt.date(1, 1, 1) + dt.timedelta(hours=t)
- offset\
for t in time]
aux = air[time_idx, :, :]
X, Y = np.meshgrid(lons, lats)
plt.pcolor(X,Y,aux,cmap=plt.cm.Spectral_r)
plt.colorbar() #shrink =0.5 escala del colorbar
plt.title("%s on %s" %
(nc_fid.variables['air'].var_desc, cur_time))
#plt.savefig('fig'+str(time_idx)+'.png')
#plt.clf()
plt.show()
METEOROLOGAPgina 20
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
Ilustracin 4
METEOROLOGAPgina 22
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
m = Basemap(projection='moll', llcrnrlat=-90,
urcrnrlat=90,\
llcrnrlon=0, urcrnrlon=360,
resolution='c', lon_0=0)
m.drawcoastlines()
m.drawmapboundary()
# Make the plot continuous
air_cyclic, lons_cyclic = addcyclic(air[time_idx,
:, :], lons)
air_cyclic, lons_cyclic = shiftgrid(180.,
air_cyclic, lons_cyclic, start=False)
# Create 2D lat/lon arrays for Basemap
lon2d, lat2d = np.meshgrid(lons_cyclic, lats)
# Transforms lat/lon en coordenadas moll
x, y = m(lon2d, lat2d)
# Plot of air temperature with 11 contour intervals
cs = m.contourf(x, y, air_cyclic, 11,
cmap=plt.cm.Spectral_r) #contourf rellena el
contorno
cbar = plt.colorbar(cs, orientation='horizontal',
shrink=0.5)
cbar.set_label("%s (%s)" %
(nc_fid.variables['air'].var_desc,\
nc_fid.variables['air'].units))
METEOROLOGAPgina
plt.title("%s on %s" %
23
(nc_fid.variables['air'].var_desc, cur_time))
plt.show()
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
Ilustracin 6
METEOROLOGAPgina 24
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
m = Basemap(projection='moll', llcrnrlat=-90,
urcrnrlat=90,\
llcrnrlon=0, urcrnrlon=360,
resolution='c', lon_0=0)
m.drawcoastlines()
METEOROLOGAPgina 25
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
Resultado.
CAPITULO 5. Conclusin
descarga
METEOROLOGAPgina 26
UNIVERSIDAD NACIONAL MAYOR DE SAN MARCOS
http://www.esrl.noaa.gov/psd/repository/entry/sho
w?entryid=8cd78007-a88a-4e53-9b92-14aa2f5b6102
METEOROLOGAPgina 27