Project

General

Profile

Covert point to pixel

Added by Yousef Albuhaisi almost 5 years ago

Hi,

I have netCDF file of point values, and I want to represent them in pixels, any ideas?

Regards.

Yousef.


Replies (6)

RE: Covert point to pixel - Added by Karin Meier-Fleischer almost 5 years ago

Hi Yousef,

what do you mean with 'in pixels'?

-Karin

RE: Covert point to pixel - Added by Yousef Albuhaisi almost 5 years ago

Hi Karin,

What I mean is, I have data for ch4 in weight/km2/month and I want it to be per grid cell size (say 0.1x0.1).

Thanks a lot! :)

Yousef.

RE: Covert point to pixel - Added by Karin Meier-Fleischer almost 5 years ago

Grid cell size in meter or degrees? Please, be more specific. You want a grid cell size of
0.1 x 0.1 km2? If so, you have to convert the values to the grid size (area) you want, from
weight/km2 per month to weigth/0.01km2 per month.

RE: Covert point to pixel - Added by Yousef Albuhaisi almost 5 years ago

I am sorry. I meant 0.1x0.1 degrees.

RE: Covert point to pixel - Added by Karin Meier-Fleischer almost 5 years ago

If your data is on a horizontal grid you can interpolate your data to a grid which has a grid cell ie of 0.1x0.1 degree.

Use the remap operators, e.g. remapbil

cdo remapbil,r3600x1800 infile outfile
    (1-6/6)