File:Alaska surface temperature january 2001-2021 2.png
Original file (1,616 × 1,072 pixels, file size: 1,013 KB, MIME type: image/png)
Captions
Summary
[edit]DescriptionAlaska surface temperature january 2001-2021 2.png |
English: Alaska surface temperature january 2001-2021 |
Date | |
Source | Own work |
Author | Merikanto |
This image is based on NASA open data Modis monthly temperature data 2009-2021
Data is MOLT/MOD11C3.006
https://lpdaac.usgs.gov/products/mod11c3v006/
https://e4ftl01.cr.usgs.gov/MOLT/MOD11C3.006/ archive copy at the Wayback Machine
Wan, Z., S. Hook, G. Hulley. MOD11C3 MODIS/Terra Land Surface Temperature/Emissivity Monthly L3 Global 0.05Deg CMG V006. 2015, distributed by NASA EOSDIS Land Processes DAAC, https://doi.org/10.5067/MODIS/MOD11C3.006. Accessed 2021-10-23.
Code to preprocess MOD11C3.006 rasters , years 2021
- process modis MOD11C3 monthly temperature data
- to produce mean temperature of july
- 30.10.2021 0000.0000
- input: files like
- MOD11C3.A2000183.006.2015066033219
library(raster)
library(rgdal)
library(terra)
library(RNetCDF)
dirlist1<-list.files("./data_jan")
lenlist1<-length(dirlist1)
for (n in 1:lenlist1)
{
failin01<-dirlist1[n]
failin1<-paste0("./data_jan/",failin01)
failout1<-paste0("./process2/","tj1_",as.character(n-1),".nc")
failin1
failout1
s1 <- sds(failin1)
t1=s1[1]
t2=s1[6]
t3=(t1+t2)/2
t4=t3-273.15
rr <- writeCDF(t4, failout1, overwrite=TRUE, varname="ts", longname="Surface Temperature", unit="degC")
}
current.list <- list.files(path="./process2", pattern =".nc", full.names=TRUE)
r.stack<- stack(current.list)
mean1 <- calc(r.stack, fun = mean, na.rm = T)
writeRaster(mean1, "t1_mean_21.nc", overwrite=TRUE, format="CDF", varname="T surf Jan", varunit="degC",
longname="Mean surface temperature of January, years 2001-2021", xname="long", yname="lat")
Licensing
[edit]- You are free:
- to share – to copy, distribute and transmit the work
- to remix – to adapt the work
- Under the following conditions:
- attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
- share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
File history
Click on a date/time to view the file as it appeared at that time.
Date/Time | Thumbnail | Dimensions | User | Comment | |
---|---|---|---|---|---|
current | 12:38, 30 October 2021 | 1,616 × 1,072 (1,013 KB) | Merikanto (talk | contribs) | update | |
12:31, 30 October 2021 | 1,472 × 976 (766 KB) | Merikanto (talk | contribs) | Uploaded own work with UploadWizard |
You cannot overwrite this file.
File usage on Commons
The following page uses this file: