Filtering ESGF datasets versions in the metalink

clear all,fclose all;close all;clc;
for i=1:length(xmlLines)
    sd=strfind(xmlLines{i},'<file name="');
    if ~isempty(sd)
        fileName=['./' xmlLines{i}(sd+12:end-2)];
for i=1:length(I1)
versiones=strvcat(fileProperties(indFiles,2));versiones=datenum([str2num(versiones(:,2:5)) str2num(versiones(:,6:7)) str2num(versiones(:,8:9)) repmat([0 0 0],length(indFiles),1)]);
fid=fopen([nameFile '_last_version.metalink'],'w');
for i=1:min(startFiles)-1
    fprintf(fid,'%s \r\n',xmlLines{i});
for i=1:Nfiles
    for j=startFiles(indFile):endFiles(indFile)
        fprintf(fid,'%s \r\n',xmlLines{j});
for i=max(endFiles)+1:length(xmlLines)
    fprintf(fid,'%s \r\n',xmlLines{i});

Attachments (1)

Download all attachments as: .zip


1. Colin -- 2017-09-25 14:00

Hello, this is fastidious post I actually loved reading this.

2. Lousi feocy -- 2017-10-18 20:22

Found your blog excessively interesting indeed. I really enjoyed studying it.

3. Rey Johnson -- 2017-10-18 21:09

No wonder why you receive countless of feedbacks .

4. anonymous -- 2017-10-20 07:50

Even if you’ve tried everything you can think of to get traffic and failed to convert it, you CAN with Click Funnels! We have members making millions of dollars in sales without spending one dime on advertising, using our powerful conversion tools like built-in split-testing, order form bumps, countdown timers, and more at

5. rOBERT -- 2017-10-21 12:29

Writers per hour will look into your background and compose a statement which will fulfill your dreams. Capstone Paper- often students ask, someone write my project paper, and Our answer is, of course we can. We will write your project in a way that you will get to learn allot from it and will also get the best grade…..

6. clickfunnels review -- 2017-10-24 09:03

Hey to everyone, it’s my first visit of the blog site; this blog includes awesome and actually best info for the visitors.

7. Ron -- 2017-10-26 09:16

So this will make it easier for people to get the savings they need to have and know the sales are going to continue to give them the income at…..

8. ADELAIDE -- 2017-11-06 16:22

Superb way of explaining, and great blog to get wonderful information.

9. anonymous -- 2017-11-18 07:06

You fully match our expectation and the selection of our data.

10. top retina specialist in pune -- 2017-11-24 08:03

top retina specialist in pune - Atharva Netralaya is one of best team of eye specialist in pune, we have more than 56 eye specialist under one roof to know more visit us on ​

11. -- 2017-11-27 10:54

You create sense out of the foremost complex topics.

12. sofia123jas@… -- 2017-11-30 09:46

I love all details that you give in your articles. <a href=""></a>

13. anonymous -- 2017-12-04 13:07

I concede, I have not been on this site page in quite a while... be that as it may it was another delight to see It is such a vital subject and overlooked by such a variety of, even experts. experts. I thank you to help making individuals more mindful of conceivable issues. [url=]Bitcoin Sweatshirtsurl

14. anonymous -- 2017-12-16 14:13

No doubt why you get so many blog comments. Jamtogel Togel Singapura

15. internet Marketing Calgary -- 2017-12-19 13:28

Hey to everyone, it’s my first visit of the blog site; this blog includes awesome and actually best info for the visitors. <a href="">calgary Internet marketing</a>

16. internet Marketing Calgary -- 2017-12-19 13:29

Hey to everyone, it’s my first visit of the blog site; this blog includes awesome and actually best info for the visitors.

17. anonymous -- 2017-12-20 10:32

Waooow!!! Magnificent blogs, this is what I wanted to search. Thanks buddy <a href="">calgary seo</a>

18. SAMS -- 2017-12-20 12:18

Keep up the best work guys, nice posts are here to get more benefits.

19. Morone -- 2017-12-20 12:19

I have visited lots of the blogs but this blog is truthfully wonderful. David

20. anonymous -- 2018-01-02 09:29

Every week-end I used to pay a fast visit this site, because I’d like enjoyment, because this web site conations certainly fussy material.

21. anonymous -- 2018-03-21 07:50

In this state getting support with your exposition is simply what the understudies require. Getting back into a bad situation! These expositions are justified regardless of an expansive area of your evaluation list and get tallied to make your report card. Normally the understudies oversee presenting the expositions, yet get normal evaluations and when the work heaps up they lose that as well.

22. Davielle4 -- 2018-05-29 10:05

Filter ESGF datasets versions.

gmail sign up help. Spanish dictionary

23. shawnjasper -- 2018-06-02 13:20

I recently came across your blog and have been reading along. I think it’s a well informatics written post. Its shows the written quality of writer. Welldone friend keep it up..

Add New Comment