Hi,
Maybe I am missing something but the manual says...
3.3. Import directory
SPECIAL NOTE: See “IMPORTANT: About
data!” above.
This option will manually import all files in
the Digital Atmosphere data directory at once.
Regardless of the mode that Digital Atmosphere is
in (scheduled or manual), this command imports
all files contained in the directory listed on the
File, Preferences General tab under “Data directory”.
The data files should consist of text bulletins
containing METAR, synoptic, SAO, FD winds
aloft, buoy reports, or rawinsonde data.
I don't see that option within general preferences. Is it defined somewhere else?
Thanks... George
Board update
Effective April 12, 2021, we had to delete about 8000 frivolous spammer accounts going back over a year. There was no way for us to locate all legitimate user applications, so some may have been deleted. If you are an actual user who created an account since March 2020 but did not get approved, please register again. You can also contact us via the Contact link on the main Weather Graphics webpage to get assistance. When you contact us, it is essential you provide brief but detailed info on your meteorological background or inform us of any previous order you've made, this way we can tell you are a legit user, otherwise we will assume it is a spammer trying to bypass the application checks. Thanks. -Tim
Effective April 12, 2021, we had to delete about 8000 frivolous spammer accounts going back over a year. There was no way for us to locate all legitimate user applications, so some may have been deleted. If you are an actual user who created an account since March 2020 but did not get approved, please register again. You can also contact us via the Contact link on the main Weather Graphics webpage to get assistance. When you contact us, it is essential you provide brief but detailed info on your meteorological background or inform us of any previous order you've made, this way we can tell you are a legit user, otherwise we will assume it is a spammer trying to bypass the application checks. Thanks. -Tim
import directory
Re: import directory
Not really sure what you are asking, but the preferences tab controls a lot of things, as far as data is concerned it controls what data you will see, i.e. what measurements will show up when you plot metar. Pref. allows you to change these, I use this and save the plot, for things like wind gust, 1 and 3 hour precip... if you are trying to control which data you are downloading, that will appear when you click on the button that looks like satellite dish. If you are trying to add or edit an existing dat site the buttons to change a site. I do NOT recommend editing a site, this will result in a lot of searcing for the http to a site that was simply down and not perm. moved. COD has had this problem off and on over the years.
If you are scripting and want to download data, it would look something like this:
Download,http://weather.cod.edu/digatmos/sao/@Y@ ... ers\[i]the name of your computer goes here[/i]\AppData\Local\DigitalAtmosphere2017\data\Data1.dat
Download,http://weather.cod.edu/digatmos/syn/@Y@ ... \[i][b]the name of your computer goes here[/b][/i]\AppData\Local\DigitalAtmosphere2017\data\Data2.dat
Ingest,C:\Users\name of your computer goes here\AppData\Local\DigitalAtmosphere2017\data\Data*.dat
The only choice you have in pref. regarding data files is under misc2 tab and that copies data to a local file, which I guess means you are making a copy of dat to a seperate file. This would allow you to save data over the years and look back at it...
If this isn't what you are looking for I will be happy to help, just need a clarification on what you are looking for
P19
If you are scripting and want to download data, it would look something like this:
Download,http://weather.cod.edu/digatmos/sao/@Y@ ... ers\[i]the name of your computer goes here[/i]\AppData\Local\DigitalAtmosphere2017\data\Data1.dat
Download,http://weather.cod.edu/digatmos/syn/@Y@ ... \[i][b]the name of your computer goes here[/b][/i]\AppData\Local\DigitalAtmosphere2017\data\Data2.dat
Ingest,C:\Users\name of your computer goes here\AppData\Local\DigitalAtmosphere2017\data\Data*.dat
The only choice you have in pref. regarding data files is under misc2 tab and that copies data to a local file, which I guess means you are making a copy of dat to a seperate file. This would allow you to save data over the years and look back at it...
If this isn't what you are looking for I will be happy to help, just need a clarification on what you are looking for
P19
Re: import directory
HI.. thanks for the reply.
I use a different program to download the metar, upper and front files into a folder on a networked PC.
I would like to use DA on my desktop PC interactively and would like to import all of the files from the folder on the networked (and mapped) pc.
There is a file - import directory option but I dont see how I can specify the directory.
The manual seems to indicate that this can be defined within the preferences but it does not exist within the preferences.
The following is from the manual... There is NO DATA DIRECTORY preference however.
3.3. Import directory
SPECIAL NOTE: See “IMPORTANT: About
data!” above.
This option will manually import all files in
the Digital Atmosphere data directory at once.
Regardless of the mode that Digital Atmosphere is
in (scheduled or manual), this command imports
all files contained in the directory listed on the
File, Preferences General tab under “Data directory”.
The data files should consist of text bulletins
containing METAR, synoptic, SAO, FD winds
aloft, buoy reports, or rawinsonde data.
Thanks.. George
I use a different program to download the metar, upper and front files into a folder on a networked PC.
I would like to use DA on my desktop PC interactively and would like to import all of the files from the folder on the networked (and mapped) pc.
There is a file - import directory option but I dont see how I can specify the directory.
The manual seems to indicate that this can be defined within the preferences but it does not exist within the preferences.
The following is from the manual... There is NO DATA DIRECTORY preference however.
3.3. Import directory
SPECIAL NOTE: See “IMPORTANT: About
data!” above.
This option will manually import all files in
the Digital Atmosphere data directory at once.
Regardless of the mode that Digital Atmosphere is
in (scheduled or manual), this command imports
all files contained in the directory listed on the
File, Preferences General tab under “Data directory”.
The data files should consist of text bulletins
containing METAR, synoptic, SAO, FD winds
aloft, buoy reports, or rawinsonde data.
Thanks.. George
Re: import directory
I think I get what you're trying to do, basically import the data files from a folder on your PC into DA, instead of downloading through DA?
If that's the case then this will work using the scripting.
You would use the "ingest" command at an early stage in the scripts, instead of the "download" command, and point to the location of the folder on the PC and include the data file type, something like:
The *.wmo is telling DA to ingest all the files in that folder with the .wmo file extension. So it's hand if they're all the same type, otherwise you have to run an "ingest" command for each file type or have one ingest command for each individual file.
I hope that helps.
If that's the case then this will work using the scripting.
You would use the "ingest" command at an early stage in the scripts, instead of the "download" command, and point to the location of the folder on the PC and include the data file type, something like:
Code: Select all
ingest,C:\Users\name of your computer\Downloads\data\*.wmo
I hope that helps.
Re: import directory
ditto the above post. The only problem that could occur would be multiple "times" of data in same folder: if you had 2 different metar files with different times. I would assume DA would only take the most recent time or possible the last one in the folder. IFF there are multiple "times" you would have to call each file individually.
P19
P19