Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate acknowledgements text file when ESS-DIVE abstract limit reached #387

Closed
emilyarobles opened this issue Apr 6, 2023 · 2 comments · Fixed by #389
Closed

Generate acknowledgements text file when ESS-DIVE abstract limit reached #387

emilyarobles opened this issue Apr 6, 2023 · 2 comments · Fixed by #389
Assignees

Comments

@emilyarobles
Copy link

The NGEE-Tropics Acknowledgements field is combined with the Dataset Description when transferred to the ESS-DIVE Abstract field. The ESS-DIVE Abstract has a limit of 5,000 characters. Generating a text file for the content of the acknowledgements field will preserve the acknowledgements while avoiding failed transfers because of the character limit. The acknowledgements.txt file should include the exact text as entered in the NGEE-Tropics Acknowledgements field.

acknowledgements.txt should be generated when

  • Dataset description character count + Acknowledgements character count + 139 > 5,000 characters.
    The additional 139 characters represents the automated sentence and "Acknowledgements: " added to the ESS-DIVE abstract field when an NGEE-Tropics dataset is transferred.

Proposed additional sentence
When an acknowledgements.txt file is generated because the 5,000 character limit has been reached, a standard message should be added to the end of the ESS-DIVE abstract:

"Please see the acknowledgements.txt file for a full listing of dataset acknowledgements."

Additional information

The dataset that began this discussion was NGT0201, which included a very long acknowledgements field (6,706 characters). This pushed the ESS-DIVE abstract far passed the 5,000 character maximum, resulting in a failed transfer. The majority of NGEE-Tropics datasets have an ESS-DIVE abstract of less than 2,000 characters, with an average of 1,395.
Screen Shot 2023-04-06 at 2 34 55 PM

Screen Shot 2023-04-06 at 2 37 34 PM

@emilyarobles
Copy link
Author

@vchendrix would it be possible to add the NGT ID to the text file name, similarly to the locations csv file? The name would also need to be reflected in the "Proposed additional sentence" in the abstract (eg. NGT0201_acknowledgements.txt).

@vchendrix
Copy link
Contributor

NGT0201_acknowledgements.txt

Yes!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants