raster - shapefile mask for georaster in MATLAB -
i trying make mask georaster (netcdn file) using shp file. similar described in thread (how limit raster processing extent using spatial mask?), since georaster not image not have r variable, solution presented there not work me.
i first load shapefile matlab: s1 = shaperead('export_output_3.shp');
the data has lambert conformal conical projection , units meters.
then load netcdf file , extract first slice of data. matrixx 1 valu each cell. has lambert conformal conic projection same parameter values, data in “degrees north” , “degrees east”.
so how can put data together? tried utm2deg function converting units of shapefile meters degrees, not know utm zone, got stuck that.
i think first need have both datasets in same units , convert shapefile matrix same resolution netcdf. unable perform of these steps.
can help?
Comments
Post a Comment