352 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
0
votes
1
answer
113
views
How can I concatenate 10 netcdf files along the time axis, while also retaining the attributes of each individual file
I am trying to concatenate 10 netCDF files that are output files from a software named Ichthyop. Each of the files is a result of a lagrangian simulation of particles drifting in the Eastern ...
0
votes
0
answers
51
views
Reduce memory usage in CDO collgrid command
I have 78 netcdf files each around 17MB, with shape (time=1, x=2048, y=2048) to be merged spatially. The single timestep is shared for all 78 files. The collgrid merge command below was able to ...
0
votes
1
answer
214
views
Merge multiple NetCDF files with `cdo` or `nco` along a dimension other than time
I have two or more NetCDF files that share a time dimension and time variable, where the time variable is the same for all the files (from the start to the end of the time period, unit, etc). The ...
-1
votes
2
answers
216
views
invert latitude from -90,90 to 90,-90 in a netcdf file
I have the following netcdf file: ncfile.nc
The file has latitudes ranging from -90deg to 90deg.
I need to flip these coordinates to 90deg, -90deg, so that the southern hemisphere becomes the northern ...
-1
votes
1
answer
71
views
NCO and CDO manipulations cause "GEOSException: TopologyException: side location conflict"
Edit:
Raw files for the years 1996 and 2005 for testing can be found here.
I have output from two modelling scenarios in a climate risk model (evergreen and control). I want to find differences ...
1
vote
1
answer
262
views
Python netcdf EOF analysis
I am performing a EOF analysis for JJAS NDVI.
from netCDF4 import Dataset
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import xarray as xr
import matplotlib as mpl
import ...
1
vote
1
answer
89
views
Python NetCDF Prime Meridian Line blank [duplicate]
I am trying to draw climatology map of GPCC precipitation.
But I found out there is a blank (data cut) in Prime Meridian Line.
How can I fix the problem? I can use CDO, NCO, Python.
I also share the ...
2
votes
0
answers
117
views
Run a bash script in Linux on a specific queue
I have a shell script on Linux to extract NetCDF data for each grid into a .txt file.
This is the annual averaged NetCDF data that I used in this conversion (originally was daily data), the size was ...
1
vote
1
answer
133
views
Creating Mean Monthly Data
I have monthly data for each year spanning from 1950 to 2022, and each year contains 12 monthly timesteps.
How can I calculate and generate a single mean monthly data file that averages the values ...
1
vote
0
answers
91
views
ERA5 model level conversion
Does anyone know of a toolbox to convert ERA5 model level data to height levels?
I have tried CDO but cannot find documentation of the parameter naming and formatting to use with ml2hl and as such the ...
0
votes
1
answer
121
views
Troubleshooting nccopy: getting stuck at the end of rechunking
I am working with ERA5 atmospheric data to calculate wind speeds anywhere globally, at maximum spatial and time resolution. This results in an uncompressed 70GB file for one year's worth of data, and ...
2
votes
1
answer
206
views
How to create two separate sets of data (one for daylight hours and another for nighttime hours) from hourly netcdf model output using CDO
I have hourly surface temperature data from the RegCM model output. It is 3D data with a size of ×ばつ1176 (lon×ばつla×ばつtime). The time dimension is in hours, so 1176 hours means a total of 49 days of ...
0
votes
0
answers
131
views
CDO -extracting of specific region
I have a gridded dataset (NetCDF format) covering Pakistan and its surrounding areas, but I am only interested in the region of Pakistan itself. I am wondering if there is a way to extract only the ...
3
votes
0
answers
218
views
How do I prevent xarray.Dataset.to_netcdf() forcibly reordering the dimensions to put 'time' first?
I have a netCDF file, data.nc.ncdump -h data.nc shows that the dimensions are:
dimensions:
cell = 20480 ;
nv = 3 ;
time = UNLIMITED ; // (12 currently)
In a Jupyter notebook, when I read ...
1
vote
1
answer
1k
views
Regridding using CDO
I am using the following cdo command to obtain the information of a grid file (from AQUA/Modis):
cdo griddes file_AQUA.nc
In this step, the following information was obtained:
gridID 1 #
gridtype = ...