Skip to main content
Filter by
Sorted by
Tagged with
1 vote
1 answer
74 views

I am following the code from this tutorial. https://ecmwf-projects.github.io/copernicus-training-c3s/projections-cmip6.html When I type: # DOWNLOAD DATA FOR HISTORICAL PERIOD c = cdsapi.Client(url=...
climateresearcher567's user avatar
0 votes
0 answers
127 views

I’m creating a Python program that converts NetCDF files into GeoTIFFs, allowing the user to select the variable and time step using a Tkinter interface. The conversion works, but I’m having a ...
Aya's user avatar
  • 9
0 votes
0 answers
38 views

I have netCDF files of oceanographic data processed in Python, that I'd like to update the global attributes of (i.e., add the same attributes to a bunch of files). Tried doing it in Xarray per their ...
Kurt's user avatar
  • 1
0 votes
1 answer
110 views

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 ...
Yotam Ben Saadon's user avatar
0 votes
1 answer
57 views

I calculated the Growing Season Length (GSL) index for the 1950–2023 period in Turkey using ERA5-Land daily mean temperature data. According to the definition: First, find the first occurrence of at ...
ibrahimin's user avatar
0 votes
0 answers
51 views

I use Python version 3.9.18 to reading wrfout files (name like: wrfout_d02_2020-01-01_00:00:00) and get T2, Q2, PSFC, U10, V10, ACSWDNB variables and combine all days in the month to a output netcdf ...
rock0789's user avatar
0 votes
0 answers
74 views

I currently have to do some calculations on a netcdf dataset. For this, I have to apply a function to each non-NaN element. Here is my current approach: import xarray as xr def calc_things(wind_speed)...
ATYslh's user avatar
  • 98
0 votes
0 answers
49 views

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 ...
siegfried's user avatar
  • 461
1 vote
1 answer
176 views

I am trying to convert portions of a netCDF (.nc) file into a .csv and I am having some issues when I try and combine the portions I separated out into one matrix. This is the first time I have ever ...
Mladds's user avatar
  • 13
1 vote
2 answers
143 views

I am trying to download vegetation index data for a single point location, and I want it to be automated in R so I can do this for multiple points in different runs. So I found the opendap.catalog ...
TJ Samojedny's user avatar
0 votes
0 answers
66 views

I have global daily radiation data for 19 years. It is divided into one netCDF file for every day (so around 7000 files). I am loading all the files together as a single xarray dataset. This takes ...
Karan Mahajan's user avatar
0 votes
0 answers
42 views

I need help on the usage of MetPy's interpolate_to_isosurface function (link). My goal was to interpolate a gridded meteorological dataset, such that its vertical coordinate is transformed from ...
Brian Añano's user avatar
1 vote
1 answer
63 views

I am trying to merge multiple NetCDFs containing 4 dimensions (lat, lon, depth, time) into one NetCDF. Each contain the same variable (sea surface temperature or 'thetao') and the same depth value and ...
Bubbles's user avatar
  • 23
1 vote
1 answer
70 views

I am trying to plot a Hovmoller diagram using NetCDFs from Copernicus database. I am trying to plot it for one specific point (lon,lat). When I create a database for this with all depth values and all ...
Bubbles's user avatar
  • 23
0 votes
1 answer
185 views

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 ...
ShGh's user avatar
  • 67
1 vote
1 answer
178 views

When selecting data from an xarray.Dataset type, the examples they provide all include hardcoding the name of the dimension like so: ds = ds.sel(state_name='California') TLDR; How can you select from ...
MKF's user avatar
  • 696
0 votes
0 answers
65 views

I have two datasets with identical dimension names and shapes and I am trying to use xarray.open_mfdataset() to merge them into one dataset before opening them. You can drop this code in your own IDE ...
MKF's user avatar
  • 696
1 vote
1 answer
176 views

I'm having trouble figuring out how to access key metadata when using terra, though I can see it's available in the original netcdf file. I have a dataset downloaded from the Climate Data Store that ...
Jaken's user avatar
  • 601
-1 votes
2 answers
97 views

I am trying to extract the grid from a netcdf file for chlorophyll a in the South of Ireland / Celtic Sea. This (below) is what I have done, but I get a large grid that also goes on land, even though ...
Klervi's user avatar
  • 7
1 vote
0 answers
33 views

I'd like to serve a NetCDF resource via WCS using MapServer Python bindings. I borrowed a mapfile form the MapServer test suite wcs_netcdf_input_output.map for which I adapted the wcs_onlineresource ...
epifanio's user avatar
  • 1,367
1 vote
2 answers
60 views

I want to get specific specific indicies from the netcdf file to create a 3 dimensional array (and then take the mean of these). However ncvar_get from the R package ncdf4 interprets as additional ...
Blaiso's user avatar
  • 347
0 votes
0 answers
48 views

I am using hvplot.quadmesh to visualize wind speed data. The hover tool should show the x and y coordinates of the pixels, but it only shows “NaN”. #interactive plot mean wind speed over whole year ...
tofri's user avatar
  • 43
0 votes
1 answer
103 views

I have created a netCDF file using xarray in python with the code below: latitude_save = sorted(list(set(copy2_sorted['lat']))) longitud_save = sorted(list(set(copy2_sorted['lon']))) time_save = ...
Kontraa Kontraa's user avatar
0 votes
0 answers
33 views

I wanted to plot streamlines with NOAA composite (2.5*2.5 lon/lat) from 30 west to 10 east ( I definitely want the map to be from west to east(. I tried to draw it with basemap (The codes are attached)...
Sedighe's user avatar
-1 votes
2 answers
210 views

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 ...
aaaaa's user avatar
  • 215
0 votes
0 answers
53 views

SDSLite package version 3.0.1 I hope to use the data I calculated as variables in the nc file, so I first need to create a Dimension structure, but when I create it, the definition of Dimension in the ...
Yx Yx's user avatar
  • 1
1 vote
1 answer
214 views

I am trying to prevent unnecessary downloading of large datasets by reading the publicly available files directly from their online location. Surprisingly I cannot find an answer to my question on ...
Linda's user avatar
  • 47
-1 votes
1 answer
254 views

I have downloaded ERA5 global data which contains the following params: total precipitation snow fall cloud cover temperature at 2m The data range is from Jan 2008 to Dec 2024.I am using xarray ...
Imtiaz Nabi's user avatar
-1 votes
1 answer
164 views

I want to multiple data extract from cmip6 model data and save as netcdf file by using the following scripts: import pandas as pd import xarray as xr from netCDF4 import Dataset nc_file = (r"...
mohammed abera's user avatar
-1 votes
1 answer
62 views

So i want to rename "m" into millimeters. I used xarray.Dataset.rename and its variations for other renaming but as far as i can see it is only able to rename "GRIB_units" and &...
ᚠᚱᛇᚺᛖᚱᚱᛖ's user avatar
0 votes
1 answer
50 views

so I pulled an hourly time series from a netcdf file and wanted to convert it to monthly data for some runs I'm doing. I keep getting the error in the title whenever I try to use the Zoo package to ...
user29319084's user avatar
0 votes
2 answers
252 views

I would like to create an array in R that looks like the following array made in Python. This may be a very simple question, but it's giving me trouble! array([[19358, 19388], [19389, 19416], ...
user8229029's user avatar
  • 1,214
-1 votes
1 answer
126 views

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 ...
ᚠᚱᛇᚺᛖᚱᚱᛖ's user avatar
0 votes
1 answer
78 views

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)...
ᚠᚱᛇᚺᛖᚱᚱᛖ's user avatar
0 votes
2 answers
268 views

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 ...
ᚠᚱᛇᚺᛖᚱᚱᛖ's user avatar
1 vote
1 answer
289 views

I am working with NetCDF data. The dimensions for the Xarray dataset are given as "x", "y", "time" and the coordinates are "lon" (y,x) "lat" (x,y) and ...
user131627's user avatar
0 votes
1 answer
63 views

I want thank everyone for taking the time to answer this question. I cannot seem to find how to merge 2 or more .nc files in R--this is after a solid few days of trying different solns from here, ...
Ethan D.'s user avatar
  • 123
1 vote
2 answers
160 views

Thanks in advance for any help and insight. I am still new/learning R. I am working with CMIP6 historical data across several models for several variables. Ideally, my baseline would run from 1850 - ...
Ethan D.'s user avatar
  • 123
0 votes
1 answer
140 views

Hello I am trying to sort the data inside some netCDF4 (.nc) files into bins as efficiently as possible. I am currently trying this with xarray and NumPy's digitize function. Since I want to process a ...
Innocuous Rift's user avatar
0 votes
1 answer
57 views

I’m stuck on a question about extracting a variable from a NetCDF file. Here is the structure of my input netcdf file: comephore_all Out[37]: <xarray.Dataset> Dimensions: (x: 85, y: 99, time: ...
Lucie Armand's user avatar
1 vote
3 answers
334 views

I have a netcdf file (ERA5 climate data) that I'm converting to a SpatRaster using terra. I would like to access the time data for each layer; however, the date element of the original file is named ...
Jaken's user avatar
  • 601
1 vote
1 answer
66 views

I am processing gas chromatography - mass spectroscopy (GC-MS) data stored in a NetCDF file in Python, and I’m having trouble aligning the data correctly to create a structured DataFrame. My goal is ...
lauradn's user avatar
  • 13
2 votes
1 answer
122 views

I have downloaded multiple Lm3 4 km netcdf files (n = 4640) for sea surface temperature from the Ocean Colour Project, NASA from 2012 to 2024. I have put all my files into a raster stack: class :...
Alice Hobbs's user avatar
  • 1,247
0 votes
1 answer
178 views

I have downloaded multiple Lm3 4 km netcdf files (n = 4640) for sea surface temperature from the Ocean Colour Project, NASA. class : SpatRaster dimensions : 766, 709, 1 (nrow, ncol, nlyr) ...
Alice Hobbs's user avatar
  • 1,247
1 vote
1 answer
158 views

I am using GeoServer 2.26.0 (docker.osgeo.org/geoserver:2.26.0), and the only extension I have installed is NetCDF; otherwise, it is a vanilla install. I have created a NetCDF store and successfully ...
devfubar's user avatar
  • 628
0 votes
1 answer
92 views

Description of Data I downloaded MULTIOBS_GLO_PHY_S_SURFACE_MYNRT_015_013 data for daily sea surface density from 2012 to 2024 from The Copernicus Website. A person can only download 2 years of data ...
Alice Hobbs's user avatar
  • 1,247
0 votes
0 answers
45 views

I'm trying to create an wind anomaly plot and shade the regions that are statistically significant at the 95% level using the Student's t-test. The anomaly plot is simple to do. The problem is that my ...
mEXsACHINE's user avatar
0 votes
2 answers
99 views

I have two data files in two formats, one is netcdf, the other is hdf5. I wish to combine them and export the combined data as hdf5. My current solution includes converting each to a python dictionary ...
Niandra Lades's user avatar
-1 votes
1 answer
243 views

Issue I downloaded AQUA-MODIS netcdf files (total = 3422) for chlorophyll-a from the Earthdata website from 2012 to 2024 for The Northern Red Sea, Egypt. I need to: Stack all the 3422 AQUA MODIS ...
Alice Hobbs's user avatar
  • 1,247
2 votes
1 answer
211 views

I am trying to do a simple calculation on a very large netcdf file, and am struggling to speed it up -- probably because I program primarily in julia and R. I think xarray/dask are the best approach ...
j lev's user avatar
  • 23

1
2 3 4 5
48