Quantcast
Channel: Project Management Service: Brendan DeTracey
Browsing latest articles
Browse All 100 View Live

CDO - Support: RE: Difficulty remapping data on MPI-ESM1-2-LR grid

Thanks Uwe! Another solution is to change the grid type to unstructured and then select a lon lat box that is slightly bigger than the polygon in question. I will compare the results to your fldmean...

View Article



CDO - Support: Region definition for selregion

Hi all,I assume that the region definition file for the selregion command in 2.0.4 is the same ask for the maskregion command. Is this true?I also have a question about the geometry of the selection...

View Article

CDO - Support: selregion fails on CMIP6 GISS ocean grid

As the title says. The selregion command fails on the ocean model grid for GISS-E2-1-G:$ cdo -O -V selregion,"cdo_region_nwa.txt" zos_Omon_GISS-E2-1-G_historical_r1i1p1f2_gn_200101.nc test.nc Climate...

View Article

Image may be NSFW.
Clik here to view.

CDO - Support: Optimal operator order?

Hi. Me again... In the following command line what is the optimal order of cdo commmands?cdo -O -a -f nc4 -z zip --cmor \ -intlevel,50 \...

View Article

CDO - Support: RE: Optimal operator order?

Hi ralf!The files are much too big to upload, but here are some download links for your pleasure! Each file is...

View Article


CDO - Support: RE: Optimal operator order?

Thanks ralf! It looks like the correct answer to my problem is to uncompress these large files that were sub-optimally chunked by their creators. I wonder if I have enough disk space...

View Article

CDO - Support: RE: selregion fails on CMIP6 GISS ocean grid

Thanks Uwe. The region file works for all other CMIP6 ocean grids I have tried. I changed the polygon orientation but selregion still fails on the GISS-E2-1-G grid. (And if I may be so bold I would...

View Article

CDO - Support: RE: selregion fails on CMIP6 GISS ocean grid

Great. Thanks.

View Article


CDO - Open discussion: Clarification for sellonlatbox

Hi again (cdo 2.0.4),The docs for sellonlatbox state the field must be "rectangularly understood". But the source for Selbox.cc indicates the command operates on all grid types. Could you please...

View Article


CDO - Open discussion: RE: Changing Dtype from F to I?

I am uncertain whether cdo can do this. You might want to try the ncpdq command from NetCDF Operators(NCO) [http://nco.sourceforge.net/].

View Article

CDO - Open discussion: RE: Changing Dtype from F to I?

Oh... and for cdo and you might also try changing your missing value to something representable as I16. 1e20 is of course going to fail in translation to a sixteen bit integer, right? . Try cdo...

View Article

CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

You can use remapdis but make sure you correct the direction of your interpolated velocity vectors which is still relative to the model grid, not relative to geographic coordinates.

View Article

CDO - Support: RE: Optimal operator order?

I am discovering that most of the CMIP6 ocean model datasets are chunked in this way. Blech...

View Article


CDO - Support: RE: Optimal operator order?

"Blech" for me comes from comic strips. "Blech" is the noise a comic book character might make when expressing disgust with a situation, perhaps with tongue stuck out like they ate something that...

View Article

CDO - Open discussion: Strange result from info command

$ cdo info zos_Omon_IPSL-CM6A-LR_ssp126_r2i1p1f1_gn_201501-201503.nc -1 : Date Time Level Gridsize Miss : Minimum Mean Maximum : Parameter ID 1 : 2015-01-16 12:00:00 0 120184 0 : 16.000 4.2513e+09...

View Article


CDO - Support: Setting all values except one to NaN

Hi everyone!I am having difficulties with what should be a simple problem.I want to convert my netcdf to a binary mask. I want to replace all values of mmask with NaN, except for 4. I then want to...

View Article

CDO - Support: RE: Setting all values except one to NaN

Danke, Karin! :)The elusive double parenthisis parenthesis...

View Article


Image may be NSFW.
Clik here to view.

CDO - Open discussion: Interpolation across 180 degrees.

Hi everyone!I have a somewhat complicated question if everyone is not on summer vacation. I must remapcon interpolate from several CMIP6 ocean curvilinear grids onto a custom curvilinear grid. The...

View Article

CDO - Open discussion: RE: Interpolation across 180 degrees.

Thank you Estanislao. Much appreciated.

View Article

CDO - Support: Easily getting number of rows and columns (nx and ny)

Hi Everyone. I hope you are all well.I am using selindexbox to remove the first and last columns and rows from a dataset (or an arbitrary window frame). Using bash I can parse the output of a cdo info...

View Article

CDO - Open discussion: RE: Operator to fill in missing values using...

Another comment. Rectilinear lat-lon grids that include 90N/S (as a center point of a grid cell) are a very bad practice, although they are still commonly used.

View Article


Image may be NSFW.
Clik here to view.

CDO - Support: RE: Easily getting number of rows and columns (nx and ny)

That would be great Uwe. Will you start counting backwards from 0 or -1? Joking...

View Article


Image may be NSFW.
Clik here to view.

CDO - Support: remapcon limitations

Hi all,I need to find the truth about the limitations of the remapcon command. I have abused this command to generate the area-weighted mean over polygons. In this thread...

View Article

CDO - Support: RE: remapcon limitations

Hi ralf!I have attached all four of my target grids. Each is a single grid cell (polygon) in SCRIP format. As for the source grid, the source grid could be any of the CMIP6 ocean grids. I will provide...

View Article

CDO - Support: RE: remapcon limitations

Hey ralf,Yes. That is what I am doing, and your selregion command is what I might have to do in the future. I have concerns the selregion command might end up as a debugging exercise, because of the...

View Article


CDO - Support: RE: remapcon limitations

ralf,thanks so much for all your time on this. I had a bad feeling that the correct answer would be to break my existing polygons into a triangular mesh, which is really far too much work for the...

View Article

CDO - Open discussion: cdo command line and null character

Hi all,I recently posted this question [https://unix.stackexchange.com/questions/722215/empty-string-breaks-command-line] on a bash forum. I was wondering if the cdo team would consider adding an...

View Article

Image may be NSFW.
Clik here to view.

CDO - Open discussion: RE: cdo command line and null character

Thanks Karin. I am now thoroughly embarrassed (yet again) and bash'ing my head against the wall. But at least I have the simple answer.

View Article

CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

Hi Marga,You need to correct them before interpolation. I suggest you contact the each modeling group and ask them for help. They should be able to give you a netcdf of the rotation angles.You can...

View Article



CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

You might want to take a look at ESMPy [https://earthsystemmodeling.org/esmpy/]. This old thread [https://github.com/DamienIrving/ocean-analysis/issues/6] gave me this suggestion. If you scroll down to...

View Article

CDO - Support: RE: transfer uv fields from rotated grid (NEMO) to regular grid

Hi Guys!Thanks for sharing your results. I keep trying to spread the message (cdo, CF-metadata, esmvaltool, et cetera) that a tool is needed for this purpose. I think the hot spots near your coastline...

View Article

CDO - Support: RE: transfer uv fields from rotated grid (NEMO) to regular grid

Just found and might be worth a look: [https://xgcm.readthedocs.io/en/latest/index.html]Edit: Does not do vector interpolation/rotation

View Article

CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

Just found and might be worth a look: [https://xgcm.readthedocs.io/en/latest/index.html]Edit: Does not do vector interpolation/rotation

View Article


CDO - Support: RE: transfer uv fields from rotated grid (NEMO) to regular grid

Thanks so much Estanislao. The elephant is still in the room with respect to Arakawa u and v grid offsets. I keep waiting anyone to provide the proper tools for these transformations. I used to have a...

View Article

CDO - Support: RE: transfer uv fields from rotated grid (NEMO) to regular grid

Have gcost and gsint always been available in the NEMO mesh mask file? I can't recall.

View Article

CDO - Support: Help getting n47 Guassian grid that matches NCEP/NCAR...

Hi all,I am trying to generate a grid that matches the Gaussian n47 grid used for the NCEP/NCAR Reanalysis. I need to generate interpolation weights to this target grid (but only for the northern...

View Article


CDO - Support: RE: Help getting n47 Guassian grid that matches NCEP/NCAR...

Danke Uwe. setgrid it is!

View Article


CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

Hi Marga,If you would upload a sample file (perhaps with a single time slice. I always use cdo seltimestep,1 infile outfile) it would help diagnose.The sethalo command can do what you want.cdo...

View Article

CDO - Support: RE: cdo remapbil creates missing values when regridding CMIP...

Great! [Two dew claws(i.e.dog's thumbs) up!]

View Article

CDO - Support: Adding a CF-Metadata region variable

Is there a cdo path for creating a CF-Metadata region variable type? (i.e. an ancillary character...

View Article

Image may be NSFW.
Clik here to view.

CDO - Open discussion: RE: GFS and ml2pl

Hi Nick. I doubt it. However, without an uploaded sample file (i.e. use cdo seltimestep,1 infile outfile), no one can help you with this question. (FYI: The first google for GFS (for me) is "Gordon...

View Article


CDO - Support: Determining the number of samples used in fldavg

Hi Everyone,I need to find the number of valid samples used by the fldavg command. (Background: I am running the selregion command on CMIP6 ocean model data and need to know the total number of valid...

View Article

CDO - Open discussion: RE: sethalo - comment and bug

This is a great idea, but will it still accept the old interface i.e. backwards compatibility?

View Article


CDO - Open discussion: Using two operators with variable input without using...

Hi there! I am using cdo 2.1.0. I am missing a very obvious syntax error... :( $ ls /home/brendan/d1/cmip6_data/680/ACCESS-CM2/raw/past/tos_Omon_ACCESS-CM2_historical_r1i1p1f1_*.nc...

View Article

CDO - Open discussion: RE: Using two operators with variable input without...

Hi Karin,It gives me the same error:$ cdo -O -a -f nc4 -z zip --cmor -setattribute,dfo_creation_date=2023-03-06T16:51:24+00:00 -fldmean -selregion,polygon_gomss_subarea_gom.txt -selname,tos...

View Article


CDO - Open discussion: RE: Using two operators with variable input without...

The same command line works with cdo 2.0.4 :(This is very confusing since selregion is not (officially?) introduced until 2.1.0

View Article

CDO - Open discussion: RE: Using two operators with variable input without...

Please ignore. It works when I get rid of the copy command.

View Article

CDO - Open discussion: selregion dropping lat/lon bounds

(cdo 2.1.0)Hi everyone,I was trying the following:$ cdo -fldmean -selregion,polygon_gomss_subarea_gom.txt -selname,tos tos_Omon_GISS-E2-1-G_historical_r1i1p1f2_gn_193101.nc test.nc cdo(1) selregion:...

View Article

CDO - Open discussion: RE: selregion dropping lat/lon bounds

Thanks so much, ralf! Hope all is good.

View Article


CDO - Support: RE: remapcon limitations

Thanks for the update Uwe.

View Article

Browsing latest articles
Browse All 100 View Live




Latest Images