[daip] The error of "No such file or directory: '**/DA00/TDD000004; " using AIPS
Bill Cotton
bcotton at nrao.edu
Fri May 22 06:17:26 EDT 2020
Aiyuan,
TDD00004; is the only critical file. There are several others that
live in $DA00 but if not found AIPS task complain loudly but continue
anyway. If you copy the other files from a working $DA00 directory as
well, it will reduce the screaming. I'm not sure what happens when
there "*"s in the path for DA00 (or other directories), it should look
more like "/msn2a/bcotton/DA00" or your equivalent.
-Bill
On 05/22/2020 06:02 AM, Aiyuan Yang wrote:
> Hi Bill,
>
> Thank you very much for the details.
>
> I have checked the setup scripts of .obitrc.py and AIPSSetup.py and both of them included the defined directory **/DA00/.
> The setup scrips were copied from Sergio and I only modify the path of DA00, DATA_1, and DATA_2 under my account, and these directories were newly created.
>
> Yes, the TDD000004; file didn't exist in my directory of **/DA00/, and I don’t know we need copy the file to the my defined /DA00/.
> Now, I have copied the file from the directory of /msn2a/bctton/DA00/, and re-run the pipeline, the error fixed.
>
> If I understand correctly, the TDD000004; file should be existed in /DA00/, if not, it needs to be copied from the proper location (i.e., /msn2a/bctton/DA00/) to the newly defined directory **/DA00/ in the setup scripts, before I run the pipeline, right?
>
> Furthermore, before run the pipeline, do I need to also copy other existing files named "***;’' from the /msn2a/bctton/DA00/ to my /DA00/, in order to run the pipeline successfully?
>
> Thanks a lot!
>
> Cheers,
> Aiyuan
>
>
>> On 22 May 2020, at 00:34, Bill Cotton <bcotton at nrao.edu> wrote:
>>
>> Aiyuan,
>> Eric cced your query to me.
>> One way or another the environment variable $DA00 needs to be set in the environment in which AIPS tasks are run and it must point to a directory in which a TDD000004; file in the format AIPS expects resides. Obit writes the parameters in this file and the AIPS tasks reads them from there. As you've noted the pipeline script tolerates failures in the plotting routines. Eric explained the standard AIPS setup which will define $DA00. There is an Obit specific method, a file named .obitrc.py in either your home or the current working directory defines a number of items including those needed to run AIPS tasks. A third possibility for which you obviously have at least a partial version of is the AIPSSetup.py file the calibration pipeline uses to define data directories and the like. This can (usually does) include DA00. My guess is that your version of this file either doesn't include DA00 or sets it to a directory that either doesn't exist or the TDD000004; file does not exist. Ask Andreas about the proper location.
>> -Bill
>> On 05/21/2020 06:07 PM, egreisen wrote:
>>> On 2020-05-21 12:28, Aiyuan Yang via Daip wrote:
>>>> Dear AIPS staff,
>>>>
>>>> I am writing to ask you a question about the file TDD000004; in AIPS.
>>>>
>>>> When I running the continuum pipeline (EVLAContPipe.py) from Obit using AIPS,
>>>>
>>>> I got an error as below:
>>>>
>>>> Raw Spectral plot for: 1331+305=3C286
>>>> [Errno 2] No such file or directory: '/**/DA00/TDD000004;'
>>>> POSSM Failed - continue anyway
>>>> [Errno 2] No such file or directory: '/**/DA00/TDD000004;'
>>>>
>>>> Then, after finishing the pipeline, there are no figures created and
>>>> saved, but the UVtab, log, pickles, and history files are created and
>>>> saved.
>>>>
>>>>
>>>> Do you have any suggestions about this error?
>>>
>>> I do not know how data areas for AIPS are set up for a pure OBIT user.
>>> This file is used to communicate adverbs from AIPS (or the obit python
>>> layer) to AIPS tasks and is critical when running AIPS. A normal
>>> AIPS manager would set up the aips logicals (source LOGIN.SH in the
>>> AIPS_ROOT area) and then RUN FILAIP and answer the questions (usual
>>> answer is 6 2).
>>>
>>> Eric Greisen
>>
More information about the Daip
mailing list