[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20050603: LDM: inserting multiple files with the same name



Hi Angelo,

> To: <address@hidden>
> From: "Alvarez, Angelo CIV NAVPACMETOCCEN JTWC" <address@hidden>
> Subject: RE: logging script output via ldmd.conf exec command
> Organization: UCAR/Unidata
> Keywords: 200506022351.j52NppZu001399

The above message contained the following:

> Aloha.  I have run into a problem inserting JMA data into our LDM queue. =
>  While the file names for all of our other data are unique, the JMA data =
> files have the same names so the system will not overwrite those in the =
> queue with the same name:
> 
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hzci50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hzcj50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hzck50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hzcy50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hzcz50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 huca98
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 huca99
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb10
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb15
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb20
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb25
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb30
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb40
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb50
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb70
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb85
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb92
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb98
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucb99
> -rw-rw-r--    1 ldm      ldm         11102 Jun  2 07:43 hucc10
> 
> How might we get around this?=20

I not sure I understand.  You said the JMA files all have the same name
but the names in the above list are unique.

Also, one can insert multiple data-products with the same
product-identifier into the product-queue as long as the MD5 checksums
of the data are unique.  When doing this with multiple files with the
same name using the pqinsert(1) utility, it would probably be a good
idea to use the "-p id" option.

The main problem I see you having deals with pqact(1).  How are you
going to distinguish between the data-products if they have the same
product-identifier?  If you insert the files via the pqinsert(1) utility
and the "-p id" option, then they will have unique product-identifiers.

> v/r
> angelo
> 
> Angelo Alvarez
> System Administrator
> NAVPACMETOCCEN/JTWC
> https://www.npmoc.navy.mil
> email: address@hidden
> phone: 808.471.3645

Regards,
Steve Emmerson

> NOTE: All email exchanges with Unidata User Support are recorded in the
> Unidata inquiry tracking system and then made publicly available
> through the web.  If you do not want to have your interactions made
> available in this way, you must let us know in each email you send to us.


NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.