Category Archives: Script

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

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

NCL Scripts to Download MODIS Data

MODIS products can be downloaded free of charge from “Land Processes Distributed Active Archive Center (LP DAAC)”, (click here). There are different products available, with various spatial and temporal resolutions. Some are daily basis, while the others are available on … Continue reading

Posted in Script, Tech Tips | 1 Comment