Project

General

Profile

Variable Interpolation

Added by Guilherme Martins about 2 months ago

Hello everyone. How are you?

I need some help. I want to interpolate the variable "pse" to the same resolution as the variable "ds1". I tried the command below, but I was not successful. Any help is appreciated.

pse_int = cdo.remapbil(ds1.Band1, input=pse, returnXDataset=True)

I'm using Python.

Best regards,

Guilherme Martins.

ds1.JPG (65.1 KB) ds1.JPG Informations about ds1 variable
pse.JPG (57.7 KB) pse.JPG Informations about pse variable
error.JPG (67 KB) error.JPG Error message

Replies (2)

RE: Variable Interpolation - Added by Karin Meier-Fleischer about 2 months ago

The input for remapbil and 'input' itself have to be streams which means they have to be files. Use the data files or write the datasets with their coordinates to files, first.

RE: Variable Interpolation - Added by Guilherme Martins about 2 months ago

Thank you, Karin.

I thought I could use a variable as input.

Thanks.

    (1-2/2)