K.WANG


思想有多远,我们就可以走多远.
(We can go as far as we thought)

Using R language in Python

Some packages are only available in R environment. This post will introduce how to use R in Python. ###- INSTALLING PYTHON AND R Both Python and ...

Using NCO to calculate area-weighted average

NCO provides some tools to do quick analysis on NC files. Now, I need to calculate area-weighted average anomaly for global land surface. Raw mon...

Using ANUSPLIN on Mac OS

I have only a windows version of ANUSPLIN. Now, I want to use it to do some interpolation tasks. There obviously are several potential ways. Fir...

Get Time Profile of python script

For example, the pyDeltaRCM model is so slow. We want to figure out where is the potential improvement. So we need to test each function’s perfor...

Use Cython to speed up python code

Cython is able to speed up python code. It can automatically convert python function to C language, and compile to a lib which could be imported d...

Using Bash script

If there are many geotiff files need to be converted to netCDF files, how can we do? The easy way is to use GDAL. We can write a simple script to...

The first long talk in English

Today, I did a talk in NSIDC. It is the first long talk in English, which is about 50 minutes and an hour plusing discussion, although I have been...

Change the sync library in Endnote X8

I moved Endnote library (*.enl) to another folder in Mac OS. It does not sync. When I check the preferences of Endnote, it does not allow me chan...