Category Archives: Tech Tips

Any technical tips that I am going to post, will be categorized under “Tech Tips”. Most of the posts would be about computer scripts or somehow related to computer.

Parallelizing loops in MATLAB – Nested parfor

parallelizing a loop in MATLAB could be as easy as changing: to However, you can not have nested parfor in matlab. So, the following will NOT work: An easy work around is to combine these two loops into one loop … Continue reading

Posted in Program, Script, Tech Tips | Tagged , | Leave a comment

slow network connection on Ubuntu

I recently got a new PC with ASUS mainboard. I installed both Windows and Ubuntu 11.10.¬†Everything¬†was fine except that on Ubuntu, the connection was slow, quite often disconnected, downloads from the Internet were halted without being completed or they were … Continue reading

Posted in Tech Tips | Leave a comment

exFAT for your USB Flash Drives

It is not that uncommon to use multiple different operating systems. I personally use Mac, Linux, and for some applications also Windows. In these situations it is not uncommon that you want to transfer file between different computers with different … Continue reading

Posted in Tech Tips | 2 Comments

@ Attribute in MAC OSX and files being in use showing in gray

It happens sometimes that you want to open a file and the finder tells you: Oopsy, can’t do that. This file is being used. (well, of course in much more professional wording). You wonder, what program is using it? and … Continue reading

Posted in Tech Tips | 1 Comment

Slicing ArcGIS ASC files into tiles

There are times that you want to slice an ArcGIS RASTER file stored in ASC format into some smaller tiles. This could be due to lack of enough memory, or if you want to perform an operation, such as calculating … Continue reading

Posted in Program, Tech Tips | Leave a comment

Mounting a Folder through a firewall using SSH tunneling

Quite often it happens that you want to access a station located behind a firewall and use the file and documents that you have stored there. Particularly, if you are a grad student, you want to connect to your university … Continue reading

Posted in Script, Tech Tips | 2 Comments

NCL Script to Get MODIS Latitude/Longitude

The NCAR Command Language (NCL) is a great software in processing and visualizing data in geosciences. If you haven’t installed it yet, go here. NCL handles many types of data such as NetCDF and HDF. More importantly, the interface to … Continue reading

Posted in Script, Tech Tips | Leave a comment