Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • C CIF
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VERIFY
  • CIF
  • Issues
  • #4

Closed
Open
Created Jul 13, 2020 by Jacob van Peet@vanpeetDeveloper

Monitor file generation output

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 Jul 13, 2020 by Jacob van Peet
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking