Hot answers tagged

21 votes
Accepted

Using R to extract data from WorldClim?

You can use raster package to download WorldClim data, see ?getdata to know about resolution, variables and coordinates. As example: library(raster) library(sp) r <- getData("worldclim",var="bio"...
user avatar
  • 12.2k
9 votes
Accepted

Seeking shapefiles of global climate/climatic zones

A respected source of global climate classification information can be found here: http://koeppen-geiger.vu-wien.ac.at/present.htm. The data are in KMZ rather than shapefile format, but should be easy ...
user avatar
  • 146
6 votes
Accepted

Spatial interpolation of 30 weather stations to other areas

You can likely get a reasonable interpolation using a linear regression (assuming your 30 weather stations are a representative sample) using elevation, latitude and distance from the coast as ...
user avatar
  • 53.4k
6 votes

Defining a color ramp for temperature range & applying it to different rasters?

An approach would be creating a style for each raster, ranging from -40°C to +20°C (or whatever you want). Firstly, right-click on the layer and, from Properties >> Style, try to set it ...
user avatar
  • 15.6k
5 votes

Kriging inside a PostGIS database?

I would write an R script that worked as a client, but will run on the database server. This will save the complication of trying to hook into PostGIS's backend and using PL/R (as I said in comments). ...
user avatar
  • 52.9k
5 votes

Acquiring global wind data?

The available free gridded global data mostly relates to near-surface wind speed and direction over global oceans. Free global land surface wind speed datasets are few. None that I know come in GIS ...
user avatar
  • 1,313
5 votes

Programs/ languages to process netcdf files "fast"

NetCDF is incredibly general and writing slow code is easy. I routinely deal with tens of thousands of NetCDF files in R, using some combination of packages raster, ncdf, ncdf4, RNetCDF, or rgdal. The ...
user avatar
  • 7,907
5 votes
Accepted

Reading d NetCDF4 format climate data observation in R?

These data are not in a netcdf format but, rather a space delimited ASCII format. This data is a bit difficult to deal with because of the lack of headers and any type of unique station identifier. ...
user avatar
4 votes

incomplete netcdf files from OpenNex PlanetOS web

The short answer is that the docker-based command doesn't output any netCDF data into the shell pipeline. It does launch local docker instance with the configuration you've created via the Web UI. ...
user avatar
  • 286
4 votes
Accepted

retrieving all coordinates of gridded temperature data with its metadata that falls in Germany' polygon?

Following your question on reading and formatting this specific climate data: First, add libraries and country boundaries. library(sp) library(raster) library(maptools) data(wrld_simpl) germany&...
user avatar
4 votes
Accepted

Spatially merging NetCDF climate grids?

I did some reading around and came across obscure CDO documentation for the collgrid function. With that, I was able to finally perform this series of merges in python by walking through files and ...
user avatar
4 votes

Extracting Netcdf climate data for multiple locations at different times using R?

Here is some example code for R. I think there are many examples out there. library(raster) b <- brick("climfile.nc") points <- shapefile("ptsfile.shp") d <- extract(b, points) write.csv(d,...
user avatar
4 votes
Accepted

Opening .clim file with QGIS

The file is just a zipped text file without headers. First you need to unzip the file, I would suggest 7-zip if on Windows. If you open it up in notepad you would see: -179.750 89.750 -32.2 -34....
user avatar
4 votes
Accepted

How many bands can single NetCDF file contain?

NetCDF 4 datasets can have many dimensions of unlimted size. Dimensions are used to define the shape of data in netCDF. Dimensions for a netCDF dataset are defined when it is created, while ...
user avatar
4 votes
Accepted

Reduce image collection to annual maximum in GEE

The error does not occur in the part of the code you present here. Later, you try to retrieve the system:time_start property with getNumber(), while you have set it as an ee.Date() in line 12. ...
user avatar
  • 9,458
3 votes
Accepted

Is elevation (height relative to sea level) constant, despite sea level rising?

From wikipedia: For the purpose of measuring the height of objects on land, the usual datum used is mean sea level (MSL). This is a tidal datum which is described as the arithmetic mean of ...
user avatar
  • 6,410
3 votes
Accepted

Changing climate grid values by adding decimal point numbers

Use the spatial analysts PLUS tool to add 0.3 or 0.8 to your climate grid. If you read the help file (syntax section) the second grid which you add to your input grid can actually be a constant and ...
user avatar
  • 39.7k
3 votes

Spatial resolution for Bioclim datasets

The finest resolution of Bioclim is 30 arc-seconds, which translates to approximately 1 kilometer (1000m). You can certainly resample the data to 30 meters but this would be quite invalid because ...
user avatar
3 votes

Acquiring global wind data?

For Global Wind data I would recommend the Global Wind Atlas by the World Bank Group. The tool contains data on wind speed, capacity factor and much more all in GIS format and free of charge.
user avatar
3 votes

Is co kriging appropriate for interpolation of three spatial co variates?

Yes, it is appropriate. Prediction by kriging can theoretically only get better when you bring in more correlated information, and that is what you do when moving from kriging to co-kriging. In ...
user avatar
3 votes
Accepted

worldclim: "Current conditions (interpolations of observed data, representative of 1960-1990)"

The methods in the 3rd paragraph of your link state: The data layers were generated through interpolation of average monthly climate data from weather stations on a 30 arc-second resolution ...
user avatar
  • 53.4k
3 votes

Converting units of m day-1 (ERA5) to mm (CRU)

CRU is mm/month, ERA is m/day. So it depends on the number of days in the month. But for January you could divide CRU by 31000 or multiply ERA with 31000 Say you had an mean rainfall of 10 mm/day, ERA ...
user avatar
3 votes

Using conditional statements on raster not working in R

An if clause in R is not the way to conditionally replace values in a vector. What you want to do is set the values in clim that match the condition to "2". For the simple case with just ...
user avatar
  • 52.9k
2 votes

Temperature data for Africa

A data requirement like the one you have outlined requires either a series geostationary satellites, or modeled data based on an amalgamation of data sources. Geostationary satellite: Your best bet ...
user avatar
2 votes

How I can extract a subset of years from a NetCDF file (e.g. to use in cell statistics)?

For working with NetCDF files, I like to write a small python program and process the data there. In the example below, I compute the average precipitation over several months using python, then pass ...
user avatar
  • 2,232
2 votes

Downloading climate data?

For temperature and precipitation, you can use the Worldclim dataset, but it does not include cloud cover.
user avatar
  • 48.7k
2 votes

Source for wind energy potential for India in GIS format

The Global Wind Atlas by DTU Energy and the World Bank Group is definitely worth checking out. It contains GIS data on wind speed, capacity factor and direction (and much more) at 50, 100 and 200m hub ...
user avatar
2 votes

Statistical Analysis of Climate Data

the free statistical language/software R is ideal for this (but if you dont know R then it'll take some learning i'm afraid). free download of R An introduction to species distribution modelling in R ...
user avatar
  • 1,560
2 votes

Current Global Climate Dataset

I think that http://www.worldclim.org should do the trick as they offer datasets in different resolutions including 30 sec.
user avatar
2 votes
Accepted

Interpolating Daily Values from Monthly Grids using QGIS?

In 2017, SAGA GIS (GUI) has now Growing Degree Days Tool - by Dr. Dirk N. Karger (under Tool Libraries | Climate | Tools | Growing Degree Days). Tool Growing Degree Days (linked to SAGA 6.0 but I ...
user avatar
  • 29.2k

Only top scored, non community-wiki answers of a minimum length are eligible