257 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
1
answer
213
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
129
views
Error at HDF5 layer using NCO trying to convert netcdf3 to 4
So i tried this
ncks -C -v expver in.nc expver.nc
ncks -5 -C -x -v expver in.nc in_5.nc
ncrename -d latitude,lat -d longitude,lon -d valid_time,time
-v latitude,lat -v longitude,lon -v ...
0
votes
1
answer
82
views
Deleting a dimension with NCO
I used NCO's ncrename to rename longitude, Latitude and valid_time to long,lat, and time. So that I can run the data through a different package that only excepts the mentioned names ( Climate Indices)...
-1
votes
1
answer
70
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 ...
0
votes
2
answers
278
views
Issue with renaming netCDF dimensions with NCO's ncrename [closed]
I used NCO's ncrename to rename longitude, Latitude and valid_time to long,lat, and time. So that I can run the data through a different package that only accepts the mentioned names.
the original ...
0
votes
2
answers
99
views
How can I debug my NCO/Meteocean-API code to obtain atmospheric data?
I am currently trying to utilize the meteocean-api in Python to download and use NORA3 data. This uses the nco package in the background to work with the files. I downloaded it, and all of its ...
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 ...
2
votes
1
answer
374
views
how to I add a specific variable from a list of netcdf files to a different one?
I have already realized that I can use the command ncks in my terminal to transfer a variable I need (temperature) from one .nc file to another that has the same structure but instead of temperature ...
1
vote
1
answer
70
views
change dtype with pynco in Netcdf
I was wondering how to change the dtype from float32 to float64 of coordinates.
I can run the following code in the terminal
ncap2 -s 'lat=double(lat); lon=double(lon)' infile.nc outfile.nc
However ...
0
votes
1
answer
67
views
Perform a calculation which takes a coordinate as an input in xarray non-iteratively
I have an .nc file which contains meteorological data such as temperature on a time-lat-lon-level coordinate grid. From temperature, I'd like to calculate potential temperature using Poisson's ...
2
votes
1
answer
89
views
Duplicating Monthly Data to Bi-monthly in a NetCDF File
I have a monthly .nc file from ISIMIP. Here's the time series:
time = "2000年01月01日", "2000年02月01日", "2000年03月01日", "2000年04月01日", "2000年05月01日",
"...
0
votes
1
answer
1k
views
NCO: Change time dimension back to unlimited
I've been trying to change the time dimension back to unlimited in a NetCDF file and haven't been successful. I made a new file and appended everything together:
dimensions:
lon = UNLIMITED ; // (...