Hi Vishal,

El lun., 3 dic. 2018 18:34, Vishal Mehta <[email protected]> escribió:

> Hi All,
>
> I'm wondering if anyone has interest and experience in piecing together a
> sensible multitempral multivariate netcdf file from a bunch of individual
> .bil files.
>
> The dataset is the US -wide PRISM (1895-2018, monthly)
>
> The main goal is to get spatial averages of each variable and time step
> for a bunch of watersheds. I have a tool that can extract this into my
> hydrology model from a netcdf file, hence the interest in netcdf.
>
> IALternately, 'm comfortable with an approach of converting it into GRASS
> rasters and then extracting what i need using bash scripting.
>
> However i was wondering of two perhaps better workflows:
> one, that uses the space times framework. It would be nice to have a
> manual or example, that went:
>
> PRISM .bil -> strds -> netcdf
>

I have not tried myself, but this could be a possible way:

#import bil files
r.in.bin
#create strds and register maps (per variable)
t.create
t.register
#convert each strds to 3d raster
t.rast.to.rast3
#export to netcdf
r.out.gdal

For time series issues, there's this wiki:
https://grasswiki.osgeo.org/wiki/Temporal_data_processing and references
therein

Now, I'm curious if it will work ;)

Cheers,
Vero
_______________________________________________
grass-user mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-user

Reply via email to