Project

General

Profile

data_extract_as_polygon

Added by kunal bali over 8 years ago

Dear users

I need to extract the netcdf lat lon data in polygon box. I have attached the figure with the polygon box. I only need to get the data of that given box and extract in ASCII file.

Could anyone please help me.

Regards
Kunal Bali

polygon1.png (94.6 KB) polygon1.png figure
FRP.nc (257 KB) FRP.nc netcdf_file

Replies (2)

RE: data_extract_as_polygon - Added by Paolo Davini over 8 years ago

Hi Kunal,

I think you should have a look at the maskregion command
https://code.zmaw.de/projects/cdo/embedded/index.html#x1-2220002.6.10
You can mask all the field outside of your polygon setting them to NA and then print them with the output command.

Cheers,
Paolo

RE: data_extract_as_polygon - Added by kunal bali over 8 years ago

I tried to do this one.

But its not working

    (1-2/2)