[gradsusr] Problem with maskout
Jennifer Adams
jma at cola.iges.org
Fri Oct 25 12:57:30 EDT 2013
Try using a local override of the time index in your expression, like this:
ga-> sst2 = maskout(sst1,mask.2(t=1))
--Jennifer
On Oct 25, 2013, at 12:45 PM, Alejandro Meza Mayorga wrote:
> Hello grads users. I have netcdf file containing daily sst data over a year, and I need to extract the grid data over an irregular area for each day, so I used the maskout function.
>
> First I created a shapefile for the area that I needed using ArcGis software (1.png).
>
> Then I followed the instructions posted in a previous thread by Dr. Yaqiang Wang (http://gradsusr.org/pipermail/gradsusr/2013-April/034603.html). So using MeteoInfo software I made a grads maskout data with the shapefile (2.png), and I changed the TDEF in the maskout ctl file just as stated (3.png).
>
> The maskout works fine for the first day (t=1) of the data (4.png), but the problem is that when I try to use another 't' different than 1 it gives an error (5.png).
>
> I hope you could give some ideas of what the error might be. Is it a mistake of how to create the shapefile, or an error in the control file?
>
> Looking forward for your help. Thanks in advance.
>
> Alejandro.
>
>
> <1.png><2.png><3.png><4.png><5.png>_______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
111 Research Hall, Mail Stop 2B3
George Mason University
4400 University Drive
Fairfax, VA 22030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20131025/ba33dfa9/attachment.html
More information about the gradsusr
mailing list