[gradsusr] How to use template option when there are different file formats
Jennifer Adams
jma at cola.iges.org
Fri Oct 2 10:21:51 EDT 2015
You have two choices:
1. Rename half of your files so they all have the same extension (or use symbolic links)
2. Use CHSUB entries for each file specify the range of time axis indices that go with each file
—Jennifer
On Oct 2, 2015, at 3:44 AM, Manoranjan LPAS <lpasmanoranjan at gmail.com> wrote:
> Dear GrADs Users,
> I am having a problem in viewing the following dataset as template option. I have monthly dataset with two different file formats as:
>
> 1995/01/pre.dat
> 1995/02/pre.bin
> 1995/03/pre.dat
> 1995/04/pre.dat
> 1995/05/pre.bin
> 1995/06/pre.dat
> and so on for 10 years
>
> Can anybody please help me how to make a descriptor file for the above files? I have written as
>
> dset ^%y4/%m2/pre.dat
> options big_endian template
> undef -999.9
> xdef 520 linear 65 0.2
> ydef 540 linear 5 0.2
> zdef 1 levels 1
> tdef 87660 linear 00z01jan1995 60mn
> vars 1
> pre 0 99
> endvars
>
> Thank you, in advance, for any kind of help of suggetion in this regard.
>
> Kind Regards,
> Mano
>
>
>
> --
> Kind Regards,
> Mano
>
> _______________________________________________
> 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/20151002/803af0c7/attachment.html
More information about the gradsusr
mailing list