Project

General

Profile

extract_single_data_point

Added by kunal bali over 5 years ago

Dear CDO users,

I need to extract single point data such as lon=77.3027 and lat=28.6502. So I used

cdo remapnn,lon=77.3027_lat=28.6502 input.nc output.nc

But it's getting too much time (more than 15 min) to extract the one single point. So is there any different code to extract single point quickly? The input file has the size of 120 GB with 5km resolution and I need to extract more than 100 single data points step by step.

please provide some information on that.

Thank You

Replies (6)

RE: extract_single_data_point - Added by Karin Meier-Fleischer over 5 years ago

Hi Kunal,

your close by. The lon and lat value is not given correct, you have to use the / instead of _.

cdo -remapnn,lon=77.3027/lat=28.6502 input.nc output.nc

-Karin

RE: extract_single_data_point - Added by kunal bali over 5 years ago

Thanks for the reply.

The code I mentioned and your code giving the same output. There is no difference in the output. Also, using your code doesn't change the processing time. It still took much time to extract the data. I think the issue is file size ~120gb and resolution ~5km.

RE: extract_single_data_point - Added by Karin Meier-Fleischer over 5 years ago

Which version do you use? I have used version 1.9.5 it didn't take much time.

RE: extract_single_data_point - Added by Karin Meier-Fleischer over 5 years ago

But if your input file is 120 GB maybe it is faster to select the variable you want first and then do the extraction. If you have more than 100 single points to extract you will have to spend the time. Sorry.

RE: extract_single_data_point - Added by kunal bali over 5 years ago

Yes, no other way. It will take time and I am also using 1.9.5 version.

RE: extract_single_data_point - Added by Dimeji Sulaymon almost 5 years ago

Dear @Karin

How can I extract certain variables (such as T, U, V) from wrfout file using cdo operators?

Thanks in anticipation.

Catalyst

    (1-6/6)