Skip to content
Snippets Groups Projects
Open Monitor file generation output
  • View options
  • Monitor file generation output

  • View options
  • Open Issue created by Jacob van Peet

    Summary

    I'm trying to generate a monitor file following the steps in the online doc (section 6.2.3 Generate a monitor file compatible with the CIF). The output gives an error message, while the behavior is intended.

    Steps to reproduce

    Follow the steps in the online doc. Adapt paths in example yaml file as needed. If the output file does not exist, it is generated (which is desired), but there's also an error message in the output (undesired).
    pycif version: 1adf8bde
    python version: python version: Python 3.7.6 | packaged by conda-forge | (default, Mar 23 2020, 23:03:20)

    What is the current bug behavior?

    Error message when there is no error. See line 4 from the end in the log below.

    What is the expected correct behavior?

    No error message if you generate a monitor file with random data for testing purposes.

    Relevant logs and/or screenshots

    /opt/miniconda3/envs/cif/lib/python3.7/site-packages/pyproj/crs/crs.py:53: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
            return _prepare_from_string(" ".join(pjargs))
    /opt/miniconda3/envs/cif/lib/python3.7/site-packages/pyproj/crs/crs.py:294: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
            projstring = _prepare_from_string(" ".join((projstring, projkwargs)))
    pyCIF has been initialized with the following parameters:
    Yaml configuration file: /home/jpt930/werk/verify/cif/data/jvp_monitor.yml
    Log file: pyCIF.logtest
    Start date: 2010-01-01 00:00:00
    End date: 2010-01-05 00:00:00
    Working directory: ./work/
    Couldn't read longitudes and latitudes.
    Make them from given coordinates
    Extracting measurements from ./jvp_monitor.nc
    [Errno 2] No such file or directory: b'/home/jpt930/werk/verify/cif/data/jvp_monitor.nc'
    Could not find a monitor file, reading observations
    Dumping datastore to ./jvp_monitor.nc
    pycif has correctly been initialized but no execution mode was specified

    See also

    Issues #2 and #5

    Edited by Jacob van Peet
    • Merge request
    • Branch

    Linked items ... 0

  • Activity

    • All activity
    • Comments only
    • History only
    • Newest first
    • Oldest first
    Loading Loading Loading Loading Loading Loading Loading Loading Loading Loading