[R-sig-Geo] Satellite Image analysis-TRMM Data
Roger Bivand
Roger@B|v@nd @end|ng |rom nhh@no
Sun Aug 28 15:00:25 CEST 2022
On Sun, 28 Aug 2022, Daniel Kelley wrote:
> I've not tried downloading any data, since
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdisc2.gesdisc.eosdis.nasa.gov%2Fdata%2FTRMM_L3%2FTRMM_3B43%2F2019%2F&data=05%7C01%7CRoger.Bivand%40nhh.no%7C866347cd5f494fb9a75f08da88e435e4%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C637972811138889948%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=W3OALAwTPSZCO%2FNFpof20Z4gMZHanXQmyrCilrSFXWo%3D&reserved=0
> requires a username and a password, but a websearch got me to
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdisc2.gesdisc.eosdis.nasa.gov%2Fdata%2FTRMM_L3%2FTRMM_3B43%2Fdoc%2FREADME.TRMM_V7.pdf&data=05%7C01%7CRoger.Bivand%40nhh.no%7C866347cd5f494fb9a75f08da88e435e4%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C637972811138889948%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=6UPwX9x4Bju%2BqEizVUFjHCcVWYkP2dhA0du5bTLU6j0%3D&reserved=0,
> Table 3 of which indicaes that the format is HDF4. From
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstackoverflow.com%2Fquestions%2F36772341%2Freading-hdf-files-into-r-and-converting-them-to-geotiff-rasters&data=05%7C01%7CRoger.Bivand%40nhh.no%7C866347cd5f494fb9a75f08da88e435e4%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C637972811138889948%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=ppuoQ9O5CcRnQ7xRqydhURwhJQuQHSS2KKHEgDCNTKY%3D&reserved=0
> it seems that R can read HDF5 but not HDF4, so you may be out of luck
> for direct reading by R, and might need to install some other
> commandline tools to first transform the data into another format.
Dan, thanks for looking to try to determine the format!
Please check whether the GDAL HDF4 driver is present in the version of
the packages with for example:
x <- terra::gdal(drivers=TRUE)
x[grep("HDF", x$name),]
on your platform. I think that you will see:
name type can vsi long.name
54 HDF4 raster read FALSE Hierarchical Data Format Release 4
55 HDF4Image raster read/write FALSE HDF4 Dataset
56 HDF5 raster read TRUE Hierarchical Data Format Release 5
57 HDF5Image raster read TRUE HDF5 Dataset
The row numbers may vary depending on the driver count on your platform.
Hope this helps,
Roger
>
> On Aug 28, 2022, at 7:00 AM, r-sig-geo-request using r-project.org wrote:
>
> Message: 1
> Date: Sun, 28 Aug 2022 19:59:06 +1200
> From: sownal chand <sownalchandfms using gmail.com<mailto:sownalchandfms using gmail.com>>
> To: r-sig-geo using r-project.org<mailto:r-sig-geo using r-project.org>
> Subject: [R-sig-Geo] Satellite Image analysis-TRMM Data
> Message-ID:
> <CAH5tCz1cdoNtFMLNV5wf5SPvR-DvSv6HwV4jQ3Ln5J4WGa05Hw using mail.gmail.com<mailto:CAH5tCz1cdoNtFMLNV5wf5SPvR-DvSv6HwV4jQ3Ln5J4WGa05Hw using mail.gmail.com>>
> Content-Type: text/plain; charset="utf-8"
>
> Hello Sir/Madam,
>
> I was looking for some information on satellite data analysis using R. If
> someone can provide me with a link or some materials for reading it
> would be great.
>
> Thanking you in advance
> sownalc
>
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-sig-Geo mailing list
> R-sig-Geo using r-project.org
> https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fstat.ethz.ch%2Fmailman%2Flistinfo%2Fr-sig-geo&data=05%7C01%7CRoger.Bivand%40nhh.no%7C866347cd5f494fb9a75f08da88e435e4%7C33a15b2f849941998d56f20b5aa91af2%7C0%7C0%7C637972811138889948%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Vp08qpnKWJcTfWrEiGc4ac3LgeryauvZc64kwfRp6co%3D&reserved=0
>
--
Roger Bivand
Emeritus Professor
Department of Economics, Norwegian School of Economics,
Postboks 3490 Ytre Sandviken, 5045 Bergen, Norway.
e-mail: Roger.Bivand using nhh.no
https://orcid.org/0000-0003-2392-6140
https://scholar.google.no/citations?user=AWeghB0AAAAJ&hl=en
More information about the R-sig-Geo
mailing list