Re: [thredds] NcML Question

Roy,

What you can do is override the variable defining a new variable with the same name than coordinate variable that you want to rewrite.

I have made with pure NcML but I think it can be also made with NcML embeded in a TDS catalog:
http://www.unidata.ucar.edu/projects/THREDDS/tech/tds4.3/tutorial/NcML.htm

Regards

Antonio




--
Antonio S. Cofiño
Grupo de Meteorología de Santander
Dep. de Matemática Aplicada y
       Ciencias de la Computación
Universidad de Cantabria

El sábado, 19 de enero de 2013 23:47:15, Roy Mendelssohn - NOAA Federal escribió:
Hi All:

I know NcML when used with the TDS can define a new dimension variable and give 
it values. But can NcML also be used to change the value of a dimension 
variable?  Say I have a dimension variable altitude with a single value 0, and 
I want to have the extracted values shown be 1, can I do that in NcML.

Or barring that, is there a good command line tool that will the same in a 
script?  Unless I am misunderstanding, while nco can do this by writing out a 
new file, I need to do it in place.  However, the preferred alternative right 
now would be to do ti with NcML in the catalog.xml file if there is way to do 
so.

Thanks,

-Roy


**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: Roy.Mendelssohn@xxxxxxxx (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

_______________________________________________
thredds mailing list
thredds@xxxxxxxxxxxxxxxx
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/



  • 2013 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: