I am trying to find the yearly annual means of for 03236 (2015-2049) using cdo. I'm confuse, which output files do I have to compile from the 03236 file. RUNIDa.p?_____.pp which "?" should I compile into 1? (I have read the manual but still confuse). Thank you.

Thanks for this post i have found useful information. David, would you explain more on how one can remove the outer rim for several files at once. like say you want to remove the outer rim for all files for a particular STASH code for daily/monthly files?James pagona

'''Open a PRECIS output .pp file and remove the outer rim (buffer zone) with a givennumber of grid cells to remove and save the new cube list with a given output format (for now, nc or pp)Simply subsets a cube by taking the inner cells and saves the new cubes list as pp or nc file in the same directorywith '_norim' added at the end of the filename

# Catch and correct case where lat and long are not last coordinates in cube if x != cube.ndim - 1: print 'Longitude does not appear to be in position dims[-2]. ' \ 'Correcting position before sub-setting cube.' cube.transpose(order) elif y != cube.ndim - 2: print 'Latitude does not appear to be in position dims[-1]. ' \ 'Correcting position before sub-setting cube.' cube.transpose(order)

# Make new cube as a sub-set of original cube norim_cube = cube[..., rim_width:-1*rim_width, rim_width:-1*rim_width] norim_cubes.append(norim_cube)

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum