Has anyone successfully used the "-p" argument? I am trying to pass a value to the Dataset_ID variable in my xml but I don't seem to be getting the syntax correct. The documentation specifies -p:<value>$<variable> but when I enter -p:Baltimore_2010$dataset_id it does not change anything in the resulting MD attribute table. Any help would be appreciated!
My apology for the delay in responding to this. I think you have confused the command line arguments when calling MDCS with the XML files for configuring the data. We'll update our doc to be more clear. If you were putting this string into the XML file, see below - the "-p:VALUE" goes on the command line.
Let us know how it goes!
Command Line :
The command line when executing the tool should look like this.
In the config xml file the node dataset_id can have the following syntax.
fail_safeValue is a value to be used in case for some reason MDCS is unable to pass a the value from the command line to the config file
MyDataID should match the variable specified in the command line.
Thanks for the response Cody. I just ran my test xml and batch file with your recommendations and it worked great. Now I can just point to a few template configuration files when generating my source mosaic datasets. Massive breakthrough for my workflow. Thanks again!