* resources.ncl: add new functions.