Storing raster maps

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

Storing raster maps

Rich Shepard
One project has 70 DEMs (13G worth) that I don't need now and I'd like to
tar and move them to an external hard drive. What's the recommended way to
do this so they can be restored for future projects?

TIA,

Rich
_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Storing raster maps

Markus Neteler
On Wed, Jul 1, 2020 at 11:25 PM Rich Shepard <[hidden email]> wrote:
>
> One project has 70 DEMs (13G worth) that I don't need now and I'd like to
> tar and move them to an external hard drive. What's the recommended way to
> do this so they can be restored for future projects?

I see two options:
- export the DEMs, still in GRASS GIS format, with r.pack (in a loop)
- or simply package the mapset(s) containing the DEMs.

Markus
_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Storing raster maps

Rich Shepard
On Wed, 1 Jul 2020, Markus Neteler wrote:

> I see two options:
> - export the DEMs, still in GRASS GIS format, with r.pack (in a loop)
> - or simply package the mapset(s) containing the DEMs.

Markus,

With changes to GRASS over the years I was no sure whether making a tarball
of the mapset would retain all information.

Thanks very much,

Rich
_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Storing raster maps

Moritz Lennert


On 1/07/20 23:55, Rich Shepard wrote:

> On Wed, 1 Jul 2020, Markus Neteler wrote:
>
>> I see two options:
>> - export the DEMs, still in GRASS GIS format, with r.pack (in a loop)
>> - or simply package the mapset(s) containing the DEMs.
>
> Markus,
>
> With changes to GRASS over the years I was no sure whether making a tarball
> of the mapset would retain all information.

There might be future changes to GRASS which would make this difficult
with the current version of GRASS (e.g. plans to change the raster
format / storage organisation). However, you will always have access to
older versions of GRASS GIS and so should at least always be able to
open old mapsets in those and then update if necessary.

Otherwise, I think that well-compressed tiff files will remain readable
for quite a long time.

Moritz
_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user
Reply | Threaded
Open this post in threaded view
|

Re: Storing raster maps

Rich Shepard
On Thu, 2 Jul 2020, Moritz Lennert wrote:

> There might be future changes to GRASS which would make this difficult
> with the current version of GRASS (e.g. plans to change the raster format
> / storage organisation). However, you will always have access to older
> versions of GRASS GIS and so should at least always be able to open old
> mapsets in those and then update if necessary.
>
> Otherwise, I think that well-compressed tiff files will remain readable
> for quite a long time.

Moritz,

Thanks for the insight.

Perhaps if the raster storage format changes r.pack will be adapted to
recognize an older format and automatically change it to the new format.

Stay well,

Rich

_______________________________________________
grass-user mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/grass-user