[gradsusr] How to template filenames with processing time ?
Jennifer Adams
jma at cola.iges.org
Thu Feb 28 13:58:58 EST 2013
You can use CHSUB entries along with %ch in your template string. The downside is that you have to write a CHSUB entry for every file in the template. But you don't have to rename your files or create symbolic links.
--Jennifer
On Feb 28, 2013, at 1:50 PM, Shen, Suhung (GSFC-610.2)[GEORGE MASON UNIVERSITY] wrote:
> Dear All,
>
> I have files named like:
>
> DeepBlue-SeaWiFS-1.0_L3_19980101_v003-20111127T191013Z.h5
> DeepBlue-SeaWiFS-1.0_L3_19980102_v003-20111127T191024Z.h5
>
> where string 20111127T191013Z and 20111127T191024Z are the data processing time, that are kind of random.
>
> If I rename files by removing the processing time, I could templating files like:
> DSET ^DeepBlue-SeaWiFS-1.0_L3_%y4%m2%d2_v003.h5
>
> Is there anyway to template original files without renaming them?
>
> Thanks,
> -suhung shen
>
> ===================================================
> Suhung Shen, Ph.D
> Suhung.Shen at nasa.gov
> George Mason University and
> NASA Goddard Earth Sciences Data and Information Services Center NASA/GSFC
> (301) 614-5088 (voice)
> (301) 614-5268 (fax)
> http://disc.gsfc.nasa.gov
> http://giovanni.gsfc.nasa.gov
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20130228/370f13e7/attachment-0003.html
More information about the gradsusr
mailing list