Let’s study about machine learning
[python: glob] reading all files once
It is good for making file list and the list is good for handling with loop.
Follow the direction,
[Example]
import glob
file_list = glob.glob(filename_*.csv)
Explain: reading all files including ‘filename_’ and ‘.csv’. Then, put them in ‘file_list’.
[Application 1]
for file in file_list:
print(“Working on : “,file)
Then, you can see that each file is being printed.
[Application 2]
also try this,
file_list = sorted(glob.glob(filename_*.csv))
The ‘sorted’ function is so helpful to let the files list in order.
So, Simple 🙂
[NCO:ncks] extract/select depth level (temp)
I have had a hard time looking for the function which can extract depth from z-axis in temperature file while analyzing climate data (CMIP5)
CDO (1.8.2)(my favorite tool!!!) may have the function “sellevel”, but it seems not ready to use. It just made me waste time with massive unsolved questions.
Besides, NCO provides a very simple method using “ncks”
For extracting 10th depth from temperature data.
> ncks -F -d depth,10 input.nc output.nc
-d depth: find data at “10”th axis from “depth” variable. (you can find the name of depth variable after typing “ncdmp -h filename.nc”)
input.nc: temperature data with depth level.
output.nc: output data at “10”th axis.
So, Simple 🙂
Week 9: Flow around a Cylinder and Potential Flow.
This week we looked at how a fluid behaves when flowing past a cylinder with the flow being tangential to the cylinder when looked at in 2D, velocity potential and an example of its use. Flow aroun…
Summer to Autumn
Warm season was gone after hard wind.
I can feel a warm water comes relatively late at a shower faucet.
Electronic blanket will be needed soon.
CO2 forcing observed from surface
I thought I would post this video illustrating the first time that a change in CO2 forcing has been observed from the ground. The paper is an Observational determination of surface radiative forcing by CO2 from 2000 to 2010 by Feldman et al. (2015). I had a quick read and as I understand it, they observed from two different sites and measured the downwelling spectrum in the infrared band. They then had to use radiative transfer models to try and remove things like seasonal variations so as to extract the change in forcing due to changing atmospheric CO2 concentrations. They detect a trend of 0.2 0.06 Wm-2 per decade.
Something to bear in mind, though, that this is not the first time that the radiative influence of increased atmospheric CO2 has been detected. Harries et al. (2001) measured – from space – a change in the…
View original post 14 more words
Differential temperature trends at the surface and in the lower atmosphere
by Roger Pielke Sr., Phil Klotzbach, John Christy and Dick McNider
An update is presented of the analysis of Klotzbach et al. 2009.
View original post 957 more words
New result shows CO2 has almost no effect on temperature
An article in the Daily Mail today piqued my interest. It trumpets empirical results which they say empirically confirm the theoretical CO2 greenhouse effect for the first time:
“Scientists have witnessed carbon dioxide trapping heat in the atmosphere above the United States, showing human-made climate change ‘in the wild’ for the first time.
A new study in the journal Nature demonstrates in real-time field measurements what scientists already knew from basic physics, lab tests, numerous simulations, temperature records and dozens of other climatic indicators.
They say it confirms the science of climate change and the amount of heat-trapping previously blamed on carbon dioxide.”
“These instruments, located at ARM research sites in Oklahoma and Alaska, measure thermal infrared energy that travels down through the atmosphere to the surface.
They can detect the unique spectral signature of infrared energy from CO2.
Other instruments at the two locations detect the unique signatures of…
View original post 548 more words
2015 is coming
welcome~!!
Penguins, Polar Bears and Sea Ice
Part 4 The last of Jim Steele’s presentation “Climate Change: More Optimism, More Debate given to the IEEE Life Members. Jim Steele is the past Director of san Francisco State University’s Sierra Nevada Field Campus and author of Landscapes and Cycles: An Environmentalist’s Journey to Climate Skepticism.
View:
Part 1 Climate Sensitivity and Drought: Landscape Changes vs CO2
Part 2 Droughts and Heatwaves: Ocean Oscillations vs CO2
Part 3 Recovering Whales, Ocean Acidification, and Climate Horror Stories