Adapting the prt_saf_cloudamount script from Tomas to netCDF file format